https://issues.dlang.org/show_bug.cgi?id=19634

Neia Neutuladh <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |spec

--- Comment #1 from Neia Neutuladh <[email protected]> ---
The specific manifestation of this is with identity expressions on unrelated
interfaces:

---
interface A {}
interface B {}
class C : A, B {}
void main()
{
    A a = new C;
    B b = new C;
    assert(a !is b);
}
---

The spec doesn't say whether this should work. The Usual Arithmetic Conversions
fail. It doesn't say that anything in particular should happen in this case,
but it vaguely implies that they need to succeed.

--

Reply via email to