[Issue 24211] Const nested function can mutate context
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 30 16:34:45 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24211
Basile-z <b2.temp at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |b2.temp at gmx.com
--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
Yes this is like 16248. I dont remember exactly why I had closed that issue,
maybe after a NG discussion where I've been explained that in this case `const`
is a noop.
Anyway, the fact that `immutable` is threated differently is a strong argument
indicating that something should be done for `const` too.
--
More information about the Digitalmars-d-bugs
mailing list