[Issue 11725] [AA] Cannot dup const AA

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 24 18:26:16 UTC 2019


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

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

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

--- Comment #2 from Dlang Bot <dlang-bot at 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

--


More information about the Digitalmars-d-bugs mailing list