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

Andrea Fontana <trik...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trik...@gmail.com

--- Comment #2 from Andrea Fontana <trik...@gmail.com> ---
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