May 25, 2021 [Issue 21972] New: importC: Error: no struct-declarator-list for struct with only anonymous struct/union members | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21972 Issue ID: 21972 Summary: importC: Error: no struct-declarator-list for struct with only anonymous struct/union members Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org Same error as issue 21961, but this time the parser misses that there are fields which have been added to the struct. --- struct outer { struct { int nested; }; }; --- This would suggest the type is not being constructed in the same way that D anon struct/union types are. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply