[Issue 6812] Failed equality of structs with string field

2011-10-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6812 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6812] Failed equality of structs with string field

2011-10-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6812 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #2 from Don 2

[Issue 6812] Failed equality of structs with string field

2011-10-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6812 --- Comment #1 from Kenji Hara 2011-10-13 17:53:17 PDT --- Class type has same problem. struct Foo { string s; } struct Bar { static class X { bool opEquals(Object o){ return true; } } X x; } void main() { Foo f1 =