Thread overview
[Issue 19634] Usual Arithmetic Conversions doesn't define what happens on failure
Jan 30, 2019
Neia Neutuladh
Dec 17, 2022
Iain Buclaw
January 30, 2019
https://issues.dlang.org/show_bug.cgi?id=19634

Neia Neutuladh <dhasenan@gmail.com> changed:

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

--- Comment #1 from Neia Neutuladh <dhasenan@gmail.com> ---
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.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19634

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

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

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19535

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--