www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20907] New: [DIP1000] Unittest fails when duplicated


          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: nobody puremagic.com
          Reporter: qs.il.paperinik gmail.com

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

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

Compiles fine without -dip1000 flag.

Jun 07 2020