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

RazvanN <[email protected]> changed:

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

--- Comment #1 from RazvanN <[email protected]> ---
This is actually a regression. Version 2.065.0 prints:

Error: Cannot interpret new int at compile time

whereas, starting from 2.066.0:

Error: cannot use non-constant CTFE pointer in an initializer `&[0][0]`

which seems to be a spill from the compiler lowering.

--

Reply via email to