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

--- Comment #15 from Denis Shelomovskij <[email protected]> ---
(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.

--

Reply via email to