StringExp.committed

Whether the string literal's type is fixed

class StringExp
bool committed;

Examples

wstring x = "abc"; // OK, string literal is flexible
wstring y = cast(string) "abc"; // Error: type was committed after cast

Meta