[Issue 21929] delegates capture do not respect scoping
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 18 17:40:06 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21929
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #2 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to deadalnix from comment #0)
> Failure to do allows for very strange things to happen, such as observing
> mutation in immutable variables.
This however is a good reason to possibly deprecate/disallow doing so at least
in @safe code.
--
More information about the Digitalmars-d-bugs
mailing list