www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22354] New: Header generation is producing trailing


          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 puremagic.com
          Reporter: lsferreira169 gmail.com

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

enum ABC

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

Oct 03 2021