[Issue 21637] New: Allow trailing comma in the ImportList

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 14 10:13:28 UTC 2021


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

          Issue ID: 21637
           Summary: Allow trailing comma in the ImportList
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

Allowing a trailing comma in the https://dlang.org/spec/module.html#ImportList,
e.g

---
import
  first,
  second,
  ;
---

would make diffs smaller, eg to add, let's say "third", it is only +1 instead
of +2 -1.

--


More information about the Digitalmars-d-bugs mailing list