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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Feb 28 21:10:04 PST 2015


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

--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
(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.

--


More information about the Digitalmars-d-bugs mailing list