https://issues.dlang.org/show_bug.cgi?id=14108
Timothee Cour <timothee.co...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timothee.co...@gmail.com --- Comment #2 from Timothee Cour <timothee.co...@gmail.com> --- >> OT: I'm not sure what the "1370" is. bugzilla 1370 >>The type of b is int[string]. To access the AA, you have to use a key typed >>as `string`. Therefore using `a` typed char[] to access AA should be type >>mismatch error. Honestly, dmd 2.066 has an IFTI regression that was not properly fixed. The line b.get(a,1); has been correctly rejected until 2.065. So, it was an "accepts-invalid bug only in 2.066 release. But why can't a char[] be used here though? Seems to me it would be safe to allow that? --