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

Andrea Fontana <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Andrea Fontana <[email protected]> ---
In my opinion the second example correctly fails.

Indeed p can't be read at compile time. If you replace auto with enum or
immutable the example works fine.

The third example works correctly so I guess we can close this issue.

--

Reply via email to