[Issue 17049] [scope] class references are not escape checked like pointers
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Feb 21 20:26:57 PST 2017
https://issues.dlang.org/show_bug.cgi?id=17049
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution|--- |INVALID
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
The reason no error is detected is because there isn't one. The declaration:
S s;
does not declare a pointer that points to the stack.
--
More information about the Digitalmars-d-bugs
mailing list