[Issue 17213] [REG2.072] take address of ref return value @safe
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Feb 20 13:06:23 PST 2017
https://issues.dlang.org/show_bug.cgi?id=17213
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at quickfur.ath.cx
--- Comment #1 from hsteoh at quickfur.ath.cx ---
I think this is by design of DIP1000.
Unfortunately, I couldn't seem to find any combination of `scope` or `return`
annotations that would work around this particular case. Seems to be a true
(and breaking!) limitation of DIP1000.
--
More information about the Digitalmars-d-bugs
mailing list