[Issue 23145] Stack allocation of scope variables defeats @safe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 29 05:59:53 UTC 2022


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
Marking the C.this constructor as `scope` does indeed detect the error.

--


More information about the Digitalmars-d-bugs mailing list