[Issue 9352] Memory corruption in delegate called by struct dtor
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 13 17:31:18 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=9352
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from hsteoh at quickfur.ath.cx ---
With -dip1000 and @safe, this code no longer compiles, and triggers the
appropriate error messages about a reference to `this` being stored in a
non-scope field. IMO this is a good-enough resolution.
--
More information about the Digitalmars-d-bugs
mailing list