[Issue 14056] std.array.assocArray with a const value
https://issues.dlang.org/show_bug.cgi?id=14056 Martin Nowak changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --
[Issue 14056] std.array.assocArray with a const value
https://issues.dlang.org/show_bug.cgi?id=14056 Martin Nowak changed: What|Removed |Added Keywords||pull --- Comment #7 from Martin Nowak --- Improve diagnostic message. https://github.com/D-Programming-Language/phobos/pull/3054 --
[Issue 14056] std.array.assocArray with a const value
https://issues.dlang.org/show_bug.cgi?id=14056 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #6 from Walter Bright --- (In reply to Kenji Hara from comment #5) > Introduced by the fix for regression 13701. https://issues.dlang.org/show_bug.cgi?id=13701 https://github.com/D-Programming-Language/dmd/pull/4148 --
[Issue 14056] std.array.assocArray with a const value
https://issues.dlang.org/show_bug.cgi?id=14056 --- Comment #5 from Kenji Hara --- (In reply to Martin Nowak from comment #3) > (In reply to Ulrich Küttler from comment #1) > > This seems to be a conscious choice, the function has been restricted to > > prevent a compile failure on assignment. The question is how to create > > associative array with immutable values. > > You know where it was introduced? We shouldn't switch from working to > not-working without a deprecation phase. Introduced by the fix for regression 13701. --
[Issue 14056] std.array.assocArray with a const value
https://issues.dlang.org/show_bug.cgi?id=14056 --- Comment #4 from Ulrich Küttler --- (In reply to Martin Nowak from comment #3) > You know where it was introduced? We shouldn't switch from working to > not-working without a deprecation phase. Unfortunately not, I do not know what changed here. --
[Issue 14056] std.array.assocArray with a const value
https://issues.dlang.org/show_bug.cgi?id=14056 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #3 from Martin Nowak --- (In reply to Ulrich Küttler from comment #1) > This seems to be a conscious choice, the function has been restricted to > prevent a compile failure on assignment. The question is how to create > associative array with immutable values. You know where it was introduced? We shouldn't switch from working to not-working without a deprecation phase. --
[Issue 14056] std.array.assocArray with a const value
https://issues.dlang.org/show_bug.cgi?id=14056 --- Comment #2 from Ulrich Küttler --- Same as Issue 13909. --
[Issue 14056] std.array.assocArray with a const value
https://issues.dlang.org/show_bug.cgi?id=14056 Ulrich Küttler changed: What|Removed |Added CC||kuett...@gmail.com --- Comment #1 from Ulrich Küttler --- This seems to be a conscious choice, the function has been restricted to prevent a compile failure on assignment. The question is how to create associative array with immutable values. --