https://issues.dlang.org/show_bug.cgi?id=4979
Basile-z <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #4 from Basile-z <[email protected]> --- D is is not the same as c# and others. On reference types this is more to perform a simple address comparison, exp when opEquals is overloaded. The assert should be rather assert(typeid(foo1) is typeid(foo2)) but unfortunately typeid() on interfaces currently has a embarrassing bug, it returns a TypeInfo_Class, not a TypeInfo_Interface. --
