[Issue 13601] static if (__ctfe) should emit warning

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Oct 18 09:14:04 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13601

--- Comment #4 from Martin Nowak <code at dawg.eu> ---
This commit
https://github.com/D-Programming-Language/dmd/commit/021097056744c23231427b71e65bd04abc72d3e3
added a diagnostic regeression, making static if (__ctfe) print two errors.

bug.d(3): Error: variable __ctfe forward referenced
bug.d(3): Error: variable __ctfe cannot be read at compile time

--


More information about the Digitalmars-d-bugs mailing list