https://issues.dlang.org/show_bug.cgi?id=24499

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <[email protected]> ---
@ntrel created dlang/dmd pull request #16381 "[foreach] Deprecate `ref` for
array index or range parameter" fixing this issue:

- Deprecate `ref` for array index or range foreach parameter

  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

https://github.com/dlang/dmd/pull/16381

--

Reply via email to