[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
Tue Mar 10 12:30:21 PDT 2015


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

--- Comment #12 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Denis Shelomovskij from comment #11)
> 
> But htis issue even not about this. AA's key type is `const char[]` and
> `char[]` is implicitly convertible to `const char[]` anyway. So this issue
> is about error in type checking and error in error message. )

OK, I didn't notice that aspect, yes that is even more perplexing than the
issue of requiring const. In fact, a library-based type would solve that too :)

--


More information about the Digitalmars-d-bugs mailing list