Thread overview
[Issue 24176] Parameters of opApply delegate don't have to be `ref`
Oct 06, 2023
Nick Treleaven
Oct 06, 2023
Dlang Bot
Nov 08, 2023
Dlang Bot
October 06, 2023
https://issues.dlang.org/show_bug.cgi?id=24176

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |spec

--
October 06, 2023
https://issues.dlang.org/show_bug.cgi?id=24176

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ntrel created dlang/dlang.org pull request #3699 "[spec] Improve `opApply` docs" fixing this issue:

- [spec] Improve `opApply` docs

  Show grammar for signature.
  Don't require `ref` delegate parameter.
  Explain non-ref ForeachType can match a ref OpApplyParameter.

  Fixes Issue 24176 - Parameters of opApply delegate don't have to be `ref`.

https://github.com/dlang/dlang.org/pull/3699

--
November 08, 2023
https://issues.dlang.org/show_bug.cgi?id=24176

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dlang.org pull request #3699 "[spec] Improve `opApply` docs" was merged into master:

- ec20daf236f6b685c51b629430f554abf4c2fceb by Nick Treleaven:
  [spec] Improve `opApply` docs

  Show grammar for signature.
  Don't require `ref` delegate parameter.
  Explain non-ref ForeachType can match a ref OpApplyParameter.

  Fixes Issue 24176 - Parameters of opApply delegate don't have to be `ref`.

https://github.com/dlang/dlang.org/pull/3699

--