--- Comment #3 from Andrej Mitrovic <> 2010-08-30 
06:47:23 PDT ---
(In reply to comment #2)
> I think changing the key type to const during iteration is a useless gesture,
> and just serves as an annoyance rather than a guarantee.
> See bug 4410 that I reported later but for a different reason.

In this case it doesn't change the key type during iteration, it changes it in
the declaration:

import std.stdio: writeln;
void main() 
    int[char[]] data = [cast(char[])"foo" : 1];

Prints: int[const(char)[]]

Unless I got it wrong here. :)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to