[Issue 17174] can take address of member of struct parameter in @safe code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 4 04:14:31 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=17174
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution|--- |INVALID
--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
With -dip1000, both functions pass, because taking the address is allowed, you
just cannot escape the address.
--
More information about the Digitalmars-d-bugs
mailing list