Thread overview
[Issue 9604] typeof emits wrong common type with immutable type
Dec 17, 2022
Iain Buclaw
August 10, 2020
https://issues.dlang.org/show_bug.cgi?id=9604

Steven Schveighoffer <schveiguy@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy@yahoo.com

--- Comment #3 from Steven Schveighoffer <schveiguy@yahoo.com> ---
This has nothing to do with chain or arrays, BTW:

ubyte b;
immutable ubyte b2;

auto x = true ? b : b2;

static assert(typeof(x) == int);

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

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

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

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

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

--