H. S. Teoh:

This means that the hash of MyKey is computed based on its binary representation, disregarding the contents of any array (and other
reference) fields. This will certainly break AA's.

I'm almost certain this has already been reported as a bug, but I vaguely remember someone mentioning a while back that this is supposed to have been fixed. But I still get the above problem in DMD git HEAD.
:-(

It needs to be fixed. (Or the code should not compile).

Bye,
bearophile

Reply via email to