[Issue 11725] [AA] Cannot dup const AA

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 9 10:42:05 UTC 2024


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

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

--


More information about the Digitalmars-d-bugs mailing list