Assigning Interface to Object

Mandeep Singh Brar mandeep at brars.co.in
Wed Jan 19 23:04:19 PST 2011


> interface I {}
>
> ...
>
> I a = ...;
> I b = ...;
>
> if (a == b) //<-- ERROR

"1.065: compiles without error, though it seems to be equivalent to is
2.051: it's really weird "

I would guess this should be filed as a bug then.

Thanks
Mandeep


More information about the Digitalmars-d-learn mailing list