You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cat > bug.d << CODE
static if (true)
enum a = b;
static if (true)
enum b = 0;
CODE
dmd -c bug.d
----
Obviously this is a problem with semantic analysis being done in lexical order instead of lazily.
The text was updated successfully, but these errors were encountered:
Martin Nowak (@MartinNowak) reported this on 2013-09-17T11:12:28Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=11059
Description
cat > bug.d << CODE static if (true) enum a = b; static if (true) enum b = 0; CODE dmd -c bug.d ---- Obviously this is a problem with semantic analysis being done in lexical order instead of lazily.The text was updated successfully, but these errors were encountered: