On Tuesday, 23 April 2013 at 04:37:12 UTC, Chris Cain wrote:
On Tuesday, 23 April 2013 at 04:33:50 UTC, Mehrdad wrote:
Yeah, hence it's broken.
Um... I don't see the problem. Do you expect the compiler to
treat strings/arrays special and look up the equal method in
the standard library? Wouldn't that confuse you when it doesn't
apply to your structures? Furthermore, requiring the compiler
to know about the standard library doesn't sound broken to you?
It has nothing to do with the standard library.
It should do whatever operator == does.