Closed markehammons closed 1 year ago
Thanks for the report @markehammons. However, it looks like it's actually the compiler that is puking here so you'll need to report this in https://github.com/lampepfl/dotty since Dotty is actually generating the coverage here. You'll also want to probably try to minimize if possible.
Actually looking further, it looks like this is actually fixed in nightly for example if you set your scalaVersion
to 3.2.2-RC1-bin-20221026-a210b7f-NIGHTLY
you'll see that it works. Seems that this pr fixed it https://github.com/lampepfl/dotty/pull/16235. I'll go ahead and close.
Describe the bug
When I try to use scoverage in my project, it triggers nasty compiler crashes on test
Quick Reproduction:
Slower Reproduction
Expected behavior
I expected the compiler to not crash. I believe that the code scoverage generates, and my own (which is heavy on compile-time programming) interfere with each other in this regard
What build tool are you using?
Mill
Version of scoverage
v2.0.7