https://issues.dlang.org/show_bug.cgi?id=4979
FeepingCreature <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #5 from FeepingCreature <[email protected]> --- No this is a genuine bug. See https://dlang.org/spec/expression.html#identity_expressions "For class objects, identity is defined as the object references are for the same object." I ia and ib are interface references, but they are the same object. D must transform the interfaces into their class reference before comparing, even if the type is the same; else, multiple implementation of the same interface must be either merged or made illegal. --
