Bug 10043 – ICE with __traits(compiles)

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-07T23:43:00Z
Last change time
2013-05-08T01:59:40Z
Keywords
ice, pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2013-05-07T23:43:48Z
Dmd 2.062 compiles this code correctly, but 2.063a causes ICE: assert mtype.c(6379) id->dyncast() == DYNCAST_IDENTIFIER void main() { struct X {} X d1; static assert(!__traits(compiles, d1.structuralCast!Refleshable)); }
Comment #1 by k.hara.pg — 2013-05-07T23:50:48Z
Comment #2 by github-bugzilla — 2013-05-08T00:57:53Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6f86c38d52913a26b15c3f0596ac60986b71096c fix Issue 10043 - ICE with __traits(compiles) https://github.com/D-Programming-Language/dmd/commit/c180e744e09d988badfd0e240c2893e8ce4a07ea Merge pull request #1977 from 9rnsr/fix10043 [REG2.063a] Issue 10043 - ICE with __traits(compiles)