[Issue 6051] New: struct declarations allow a trailing semicolon

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 24 06:27:58 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6051

           Summary: struct declarations allow a trailing semicolon
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: blood.of.life at gmail.com


--- Comment #0 from Bernard Helyer <blood.of.life at gmail.com> 2011-05-24 06:23:42 PDT ---
struct A {
    int foo;
};

DMD allows this. This is not mentioned in the documentation. One or the other
is incorrect.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list