You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download and/or switch to java 17 (sdkman is helpful here)
run ./mill j17.test
watch the compiler die
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
The text was updated successfully, but these errors were encountered:
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 scala/scala3#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
The text was updated successfully, but these errors were encountered: