[Issue 5476] New: spec: attributes have an optional else clause

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 22 13:26:20 PST 2011


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

           Summary: spec: attributes have an optional else clause
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody at puremagic.com
        ReportedBy: ellery-newcomer at utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2011-01-22 13:24:19 PST ---
http://www.digitalmars.com/d/2.0/attribute.html:

attribute
    declaration;
else
    declaration;

attribute            // affects all declarations in the block
{
    declaration;
    declaration;
    ...
}
else
{
    declaration;
    declaration;
    ...
}

Either I'm misunderstanding something, or this is and has been wrong for quite
a while

-- 
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