Bug 12673 – ICE with static assert and __traits(compiles) with non-existent symbol

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-04-28T13:03:00Z
Last change time
2014-05-04T12:43:42Z
Keywords
ice, pull
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2014-04-28T13:03:49Z
----- void main() { static assert(__traits(compiles, { abcd(); })); } ----- 2.065: Assertion failure: '0' on line 99 in file 'statement.c' Same in git-head.
Comment #1 by k.hara.pg — 2014-05-04T12:02:54Z
Comment #2 by github-bugzilla — 2014-05-04T12:43:41Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5989e42cf588e81053b37f361cfc5d9a2e8a8d8d fix Issue 12673 - ICE with static assert and __traits(compiles) with non-existent symbol https://github.com/D-Programming-Language/dmd/commit/ac5dd22276a26ee0f9ca7c35abb49160144d94c3 Merge pull request #3525 from 9rnsr/fix12673 Issue 12673 - ICE with static assert and __traits(compiles) with non-existent symbol