[Issue 24232] ref for index of foreach for arrays is not allowed by spec but accepted by compiler.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 14 17:36:24 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24232
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel updated dlang/dmd pull request #16381 "[foreach] Deprecate `ref` for
array index or range parameter" fixing this issue:
- Fix Bugzilla 24232 - ref for index of foreach for arrays is not allowed by
spec but accepted by compiler
https://github.com/dlang/dmd/pull/16381
--
More information about the Digitalmars-d-bugs
mailing list