https://d.puremagic.com/issues/show_bug.cgi?id=2954
--- Comment #9 from Andrei Alexandrescu <and...@erdani.com> 2014-03-19 08:51:30 PDT --- Thanks, indeed it wasn't fixed. Current test code: import std.stdio; void main() { uint[string] hash; char[] a = "abc".dup; const ca = a; hash[ca] = 42; a[0] = 'A'; writeln(hash.keys); } Accessing lvalues in a hash table must be done with a type assignable to the key type. Rvalue lookup may be done with types only comparable t the key type. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------