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

Jonathan M Davis <[email protected]> changed:

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

--- Comment #5 from Jonathan M Davis <[email protected]> ---
Actually, I really don't see a problem here. The unsafe operation is in main.
_That_ is where the @system function is called. Sure, the fact that func
returns auto makes it harder to see, but if you marked main with @safe, then it
would be clear, since the compiler would give then an error when fp was called.

--

Reply via email to