http://d.puremagic.com/issues/show_bug.cgi?id=11059
Summary: alias to symbol in different conditional compilation scope depends on lexical order Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@dawg.eu --- Comment #0 from Martin Nowak <c...@dawg.eu> 2013-09-17 11:12:28 PDT --- 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. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------