denizzzka 4denizzz at
Sat Oct 6 10:59:41 PDT 2012


version(assert){ int i = 1; } else { int k = 1; }

causes error:
Error: identifier or integer expected, not assert

This is bug or feature? says what it is correct code, 
because "assert" in the list of "Predefined Version Identifiers"

How I can solve this problem by other way?

More information about the Digitalmars-d-learn mailing list