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

          Issue ID: 20907
           Summary: [DIP1000] Unittest fails when duplicated
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Example code: https://run.dlang.io/is/upvQy9

Change the upper of the static foreach before the unittest to 1 will make it
compile.

Compiles fine without -dip1000 flag.

--

Reply via email to