On 7/25/2014 2:12 AM, Jacob Carlborg wrote:
On 25/07/14 10:48, Walter Bright wrote:
Putting it simply,
1. == uses opEquals. If you don't supply opEquals, the compiler will
make one for you.
2. AAs use ==. See rule 1.
Easy to understand, easy to explain, easy to document.
It's very hard to use D when it constantly changes and breaks code. It's
especially annoying reading your comments on reddit that we must stop break
code. Then a few days later go an break code. I really hope no one gets false
hopes from those comments.
We went through the likely code breakage from this in this thread, and it's hard
to see any non-broken code breaking. It will also fix regression
https://issues.dlang.org/show_bug.cgi?id=13179 and stop that breakage.