digitalmars.D.bugs - [Issue 17307] New: [ICE] TypeBasic::implicitConvTo: After error
- via Digitalmars-d-bugs (53/53) Apr 08 2017 https://issues.dlang.org/show_bug.cgi?id=17307
https://issues.dlang.org/show_bug.cgi?id=17307 Issue ID: 17307 Summary: [ICE] TypeBasic::implicitConvTo: After error "anonymous struct can only be a part of an aggregate" Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ibuclaw gdcproject.org Reduced test --- struct { enum bitsPerWord = size_t; } --- $ dmd bug.d DMD v2.074.0-devel-880aeae DEBUG bug.d(1): Error: anonymous struct can only be a part of an aggregate, not module bug Segmentation fault --- Program received signal SIGSEGV, Segmentation fault. 0x00000000005eb148 in TypeBasic::implicitConvTo(Type*) (this=0x7ffff7ec9460, to=0x0) at ddmd/mtype.d:4168 (gdb) bt (this=0x7ffff7ec9460, to=0x0) at ddmd/mtype.d:4168 (this=0x7fffffffce90, e=0x7ffff6979f80) at ddmd/dcast.d:217 e=0x7ffff6979f80) at ddmd/visitor.d:849 v=0x7fffffffce90) at ddmd/expression.d:5693 t=0x0) at ddmd/dcast.d:1388 (this=0x7ffff6979f80, t=0x0) at ddmd/expression.d:2824 NeedInterpret) (this=0x7ffff7eccc60, sc=0x7ffff6978de0, t=0x0, needInterpret=<incomplete type>) at ddmd/init.d:883 (this=0x7ffff7eccc90, sc=0x7ffff6978de0) at ddmd/declaration.d:1955 (this=0x7ffff7eccdb0, sc=0x7ffff6978de0) at ddmd/attrib.d:191 _param_0=0x0) at ddmd/dmodule.d:1082 (argv=0x7fffffffddd8, argc=2) at ddmd/mars.d:1472 --
Apr 08 2017