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

Martin Nowak <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3
                 CC|                            |[email protected]
           Severity|enhancement                 |regression

--- Comment #3 from Martin Nowak <[email protected]> ---
This worked as expected 2.063.2.

cat > bug.d << CODE
void foo()
{
    static if (__ctfe) {}
}
CODE

dmd -c bug
----
bug.d(3): Error: variable __ctfe cannot be read at compile time
----

--

Reply via email to