[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 9 10:58:38 UTC 2018


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

anonymous4 <dfj1esp02 at sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|safe                        |
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from anonymous4 <dfj1esp02 at sneakemail.com> ---
Should work the same is @system code; "don't break working code" only applies
to valid code; if code advertizes scoping, but doesn't respect it, it's invalid
and there shouldn't be any guarantee for it to work.

--


More information about the Digitalmars-d-bugs mailing list