[Issue 19183] DIP1000 defeated if auto used instead of scope in variable declaration with template this member function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 20 13:16:00 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19183
ag0aep6g <ag0aep6g at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ag0aep6g at gmail.com
--- Comment #1 from ag0aep6g <ag0aep6g at gmail.com> ---
Doesn't compile for me (2.081.2). I get:
test.d(7): Error: scope variable s assigned to gInts with longer lifetime
https://run.dlang.io/is/74B2qq
--
More information about the Digitalmars-d-bugs
mailing list