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

          Issue ID: 18521
           Summary: [REG 2.078.1] In a small DUB project wrong code
                    generated with cov
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: wrong-code
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Use the shell script in the attached folder. Using the cov config gives a
different result from the default config.

Then in app.d, if you change 

   `writeln("====>>", lexer.array.length);`

to

   `writeln(lexer.array.length);`

then the problem disappears.

--

Reply via email to