digitalmars.D.bugs - [Issue 24026] New: ImportC: ICE on nested C initializer 2
- d-bugmail puremagic.com (27/27) Jul 02 2023 https://issues.dlang.org/show_bug.cgi?id=24026
https://issues.dlang.org/show_bug.cgi?id=24026 Issue ID: 24026 Summary: ImportC: ICE on nested C initializer 2 Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: dkorpel live.nl Introduced by the fix for issue 23768, https://github.com/dlang/dmd/pull/15344 ```C typedef struct { int type; } Action; typedef struct { Action action; } Entry; Entry entry = {{ .type = 1 }}; ``` This makes the compiler get stuck in an endless loop --
Jul 02 2023