Thread overview
[Issue 11725] [AA] Cannot dup const AA
Oct 24, 2019
Dlang Bot
Dec 17, 2022
Iain Buclaw
Oct 09
Dlang Bot
October 24, 2019
https://issues.dlang.org/show_bug.cgi?id=11725

--- Comment #1 from hsteoh@quickfur.ath.cx ---
Still happens on git master (b70b154d716b681c242f7d5fb3a4cea9449d508d).

--
October 24, 2019
https://issues.dlang.org/show_bug.cgi?id=11725

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@quickfur created dlang/druntime pull request #2838 "Fix issue 11725: AA.dup should return mutable AA where possible." fixing this issue:

- Fix issue 11725: AA.dup should return mutable AA where possible.

  Since the original AA has been duplicated, it should be safe to mutate
  the copy. No need to needlessly restrict the copy to be const too.

https://github.com/dlang/druntime/pull/2838

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=11725

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--
October 09
https://issues.dlang.org/show_bug.cgi?id=11725

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ntrel updated dlang/dmd pull request #16979 "Fix issue 11725: AA.dup should return mutable AA where possible" fixing this issue:

- Fix Bugzilla 11725: AA.dup should return mutable AA where possible

  Since the original AA has been duplicated, it should be safe to mutate
  the copy. No need to restrict the copy to be const too.

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

--