Thread overview
[Issue 21878] "ref" lost when indexing array in CTFE
Apr 29, 2021
Vladimir Panteleev
Apr 30, 2021
Dlang Bot
Apr 30, 2021
Dlang Bot
April 29, 2021
https://issues.dlang.org/show_bug.cgi?id=21878

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
I should add that `inout` is also somehow to blame. Works fine without it.

--
April 30, 2021
https://issues.dlang.org/show_bug.cgi?id=21878

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@BorisCarvajal created dlang/dmd pull request #12487 "Fix Issue 21878 - "ref" lost when indexing array in CTFE" fixing this issue:

- Fix Issue 21878 - "ref" lost when indexing array in CTFE

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

--
April 30, 2021
https://issues.dlang.org/show_bug.cgi?id=21878

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12487 "Fix Issue 21878 - "ref" lost when indexing array in CTFE" was merged into master:

- 8cd0a729c724eb7d85ed853b064982ae61f19adf by Boris Carvajal:
  Fix Issue 21878 - "ref" lost when indexing array in CTFE

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

--