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.
Comment #1 by b2.temp — 2018-02-25T12:24:21Z
Created attachment 1682
testcase
Comment #2 by code — 2018-02-28T18:14:23Z
You're attachment is missing source/app.d and the build.sh command does not use -cov. Also better post examples than to provide a downloadable zip file.
I still think you're seeing a codegen bug introduced by https://github.com/dlang/dmd/pull/7654, so this is likely a duplicate of issue 18296. Please confirm that 2.079.0-rc.1 fixes your problem.
Comment #3 by b2.temp — 2018-02-28T21:34:22Z
(In reply to Martin Nowak from comment #2)
> You're attachment is missing source/app.d and the build.sh command does not
> use -cov. Also better post examples than to provide a downloadable zip file.
>
> I still think you're seeing a codegen bug introduced by
> https://github.com/dlang/dmd/pull/7654, so this is likely a duplicate of
> issue 18296. Please confirm that 2.079.0-rc.1 fixes your problem.
Problem is fixed but the zip file contained valid material ! I even used it to verify.