July 02, 2023 [Issue 24026] New: ImportC: ICE on nested C initializer 2 | ||||
---|---|---|---|---|
| ||||
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 -- |
Copyright © 1999-2021 by the D Language Foundation