dmd icon indicating copy to clipboard operation
dmd copied to clipboard

[foreach] Deprecate `ref` for array index or ForeachRangeStatement

Open ntrel opened this issue 4 months ago • 3 comments

Fix Bugzilla 24499 - foreach over a ref parameter to an rvalue should be an error Fix Bugzilla 24232 - ref for index of foreach for arrays is not allowed by spec but accepted by compiler

ntrel avatar Apr 14 '24 13:04 ntrel