[Issue 22040] dip1000: foreach ref can escape scope array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jul 19 13:17:19 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=22040
Dennis <dkorpel at live.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Dennis <dkorpel at live.nl> ---
With the new rules, `return scope` now applies to the `int[]` instead of the
`ref arr`.
--
More information about the Digitalmars-d-bugs
mailing list