[Issue 11044] Escaping references to lazy argument are allowed
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon May 1 01:40:42 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=11044
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |safe
CC| |nick at geany.org
--- Comment #2 from Nick Treleaven <nick at geany.org> ---
With dmd 2.074, -dip1000 the `dg = { return i; }` from comment 1 won't compile,
but the original lazy code still does.
--
More information about the Digitalmars-d-bugs
mailing list