www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21188] New: Anonymous structs - not described

https://issues.dlang.org/show_bug.cgi?id=21188

          Issue ID: 21188
           Summary: Anonymous structs - not described
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: porton narod.ru

https://dlang.org/spec/struct.html defines

AnonStructDeclaration:
    struct AggregateBody

but in this page, it's said nothing about the semantics of anonymous structs.
That's a bug in the specification.

--
Aug 22 2020