[Issue 14056] std.array.assocArray with a const value

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Feb 18 18:03:10 PST 2015


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #3 from Martin Nowak <code at dawg.eu> ---
(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.

--


More information about the Digitalmars-d-bugs mailing list