Array.uniq doesn't call `==
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1317
Reported by Martin Nilsson, IDA nilsson@pike.ida.liu.se
> class A (int x) { int `== (mixed with) { return 1; } }
> A(1) == A(2);
Result: 1
> Array.uniq( ({ A(1), A(2) }) );
Result: ({ /* 2 elements */
object,
object
})