[Issue 13361] New: Empty UDA accepted

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 22 14:54:34 PDT 2014


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

          Issue ID: 13361
           Summary: Empty UDA accepted
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: blah38621 at gmail.com

DMD currently accepts the following code, which is completely and utterly 
useless:

struct A
{
    @()
    int b;
}

--


More information about the Digitalmars-d-bugs mailing list