[Issue 21972] New: importC: Error: no struct-declarator-list for struct with only anonymous struct/union members
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 25 16:56:59 UTC 2021
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 at puremagic.com
Reporter: ibuclaw at 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.
--
More information about the Digitalmars-d-bugs
mailing list