Thread overview
[Issue 18305] Union.init identity comparison crashes ctfe
[Issue 18305] SysTime crashes ctfe
Jan 26, 2018
FeepingCreature
[Issue 18305] Union identity comparison crashes ctfe
Jan 26, 2018
FeepingCreature
Jan 26, 2018
FeepingCreature
Jan 27, 2018
Ketmar Dark
January 26, 2018
https://issues.dlang.org/show_bug.cgi?id=18305

--- Comment #1 from FeepingCreature <default_357-line@yahoo.de> ---
Shorter example:

union S {
    int a, b;
}

void main() {
    // compiles
    if (S.init is S.init) { }
    // doesn't compile
    mixin({ if (S.init is S.init) return ""; else return  ""; }());
}

--
January 26, 2018
https://issues.dlang.org/show_bug.cgi?id=18305

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|SysTime crashes ctfe        |Union identity comparison
                   |                            |crashes ctfe

--
January 26, 2018
https://issues.dlang.org/show_bug.cgi?id=18305

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Union identity comparison   |Union.init identity
                   |crashes ctfe                |comparison crashes ctfe

--
January 27, 2018
https://issues.dlang.org/show_bug.cgi?id=18305

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar@ketmar.no-ip.org

--
September 13
https://issues.dlang.org/show_bug.cgi?id=18305

FeepingCreature <default_357-line@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from FeepingCreature <default_357-line@yahoo.de> ---
This seems to be fixed as of 2.084.

--