[Issue 16228] Insufficient diagnostics for wrong application of DIP25

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 3 02:08:55 PDT 2016


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

--- Comment #3 from Dicebot <public at dicebot.lv> ---
> BTW, you'll see errors diagnosed if @safe is added. Leaving off @safe disables safety checks.

This doesn't sound right - these errors are akin to syntax errors in spirit,
such usage of `return ref` can't be possibly correct, @safe or not.

--


More information about the Digitalmars-d-bugs mailing list