Bug 19913 – ICE: Segmentation fault with mixin and enum

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-05-28T20:11:21Z
Last change time
2019-06-15T15:11:26Z
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2019-05-28T20:11:21Z
struct S { mixin a.b; enum {a} }
Comment #1 by dlang-bot — 2019-05-30T23:36:42Z
dlang/dmd pull request #9921 "fix Issue 19913 - ICE: Segmentation fault with mixin and enum" was merged into stable: - 1c3a4c1a865b8b60baa46e944dbd5ed0010bcc11 by Iain Buclaw: fix Issue 19913 - ICE: Segmentation fault with mixin and enum https://github.com/dlang/dmd/pull/9921
Comment #2 by dlang-bot — 2019-06-09T05:06:54Z
dlang/dmd pull request #10000 "[dmd-cxx] fix Issue 19913 - ICE: Segmentation fault with mixin and enum" was merged into dmd-cxx: - cc0fc323cdaf310fa05bff518bcc2ba893191276 by Iain Buclaw: fix Issue 19913 - ICE: Segmentation fault with mixin and enum https://github.com/dlang/dmd/pull/10000
Comment #3 by steven_kladitis — 2019-06-15T15:11:26Z
im the pull for the the fix I see if (v->type == NULL) should this be if (v->type IS NULL)