[Issue 22354] New: Header generation is producing trailing whitespace on enum declarations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 3 19:34:14 UTC 2021


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

          Issue ID: 22354
           Summary: Header generation is producing trailing whitespace on
                    enum declarations
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: lsferreira169 at gmail.com

DMD should generate clean headers without trailing whitespace, when possible.
This case it generates a trailing whitespace for enums.

```
enum ABC
{
        A,
        B,
        C,
}
```

This will produce a trailing whitespace on the first line corresponding to the
header generated

--


More information about the Digitalmars-d-bugs mailing list