https://issues.dlang.org/show_bug.cgi?id=22353
Issue ID: 22353
Summary: Header generation is producing trailing whitespace on
attribute declarations
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
DMD should generate clean headers without trailing whitespace, when possible.
This case it generates a trailing whitespace for AttribDeclaration when an
storage class is provided.
```
@safe
{
void foo() {}
void bar() {}
}
```
This will produce a trailing whitespace on the first line corresponding to the
header generated
--