Bug 5476 – spec: attributes have an optional else clause
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2011-01-22T13:24:00Z
Last change time
2012-01-20T16:28:22Z
Assigned to
nobody
Creator
ellery-newcomer
Comments
Comment #0 by ellery-newcomer — 2011-01-22T13:24:19Z
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