Thread overview
[Issue 14148] .dup of associative array is not mutable
Nov 27, 2020
Lionello Lunesu
Feb 18, 2022
FeepingCreature
Feb 18, 2022
Mario Kroeplin
Dec 17, 2022
Iain Buclaw
November 27, 2020
https://issues.dlang.org/show_bug.cgi?id=14148

Lionello Lunesu <lio+bugzilla@lunesu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lio+bugzilla@lunesu.com

--- Comment #1 from Lionello Lunesu <lio+bugzilla@lunesu.com> ---
I'm running into this as well. I suppose the issue is that AArray.dup does a "shallow dup", but in the case of values this should result in copies that can be mutated.

--
February 18, 2022
https://issues.dlang.org/show_bug.cgi?id=14148

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |default_357-line@yahoo.de

--- Comment #2 from FeepingCreature <default_357-line@yahoo.de> ---
Just ran into this again. A workaround: `ctx.byPair.assocArray`.

--
February 18, 2022
https://issues.dlang.org/show_bug.cgi?id=14148

Mario Kroeplin <kroeplin.d@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry
                 CC|                            |kroeplin.d@googlemail.com

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=14148

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18945

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--