[Issue 12420] [AA] Can't set associative array with array as key value using key type
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jul 26 03:20:52 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=12420
--- Comment #15 from Denis Shelomovskij <verylonglogin.reg at gmail.com> ---
(In reply to Walter Bright from comment #13)
> ...
> Yes, the compiler currently accepts const keys, and const keys are mutable
> by other references. But that is the bug, not the error message about
> immutability.
> ...
If accepting not implicitly convertible to `immutable` types as associative
array keys is a bug, please approve Issue 12491.
--
More information about the Digitalmars-d-bugs
mailing list