[Issue 14626] [REG2.066] byValue doesn't work with inout AA

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 17 09:57:17 PDT 2015


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

--- Comment #6 from github-bugzilla at puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/6d57c68df1f72e9416548ad450e56a16bb1fdb90
fix Issue 14626 - byValue doesn't work with inout AA

Until 2.065, compiler had substituted all `inout` qualifiers in the `Key` and
`Value` types to `const`, then those had passed to the template struct
`AssociativeArray`.

https://github.com/D-Programming-Language/dmd/blob/v2.065.0/src/mtype.c#L4897

This change emulates that.

https://github.com/D-Programming-Language/druntime/commit/ad900eb3cc38397c4fa3a0a805793f002d03abc7
Merge pull request #1326 from 9rnsr/fix14626

[REG2.066] Issue 14626 - byValue doesn't work with inout AA

--


More information about the Digitalmars-d-bugs mailing list