On Friday, 25 July 2014 at 20:28:23 UTC, Walter Bright wrote:
Nope. If the user doesn't write opEquals, the compiler will generate one for him, using the same method as it did for ==.

Well, that was the case in 2.065, whereas 2.066 currently gives an error if you use a type as a key in an AA without defining opEquals for it. That change needs to be reverted.

- Jonathan M Davis

Reply via email to