Why

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

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

This is bug or feature?
http://dlang.org/version.html says what it is correct code, because "assert" in the list of "Predefined Version Identifiers"

How I can solve this problem by other way?

Reply via email to