Failure to collect coverage in the presence of the derives
keyword
#15580
Labels
area:coverage
Code coverage, see https://dotty.epfl.ch/docs/internals/coverage.html
stat:cannot reproduce
Compiler version
3.2.0-RC1
Minimized code
I encountered this issue when using
sbt-scoverage
.The full reproduction is available here, however the main file is
User.scala
:Output
Running
sbt clean coverage test coverageReport
fails with an error:Expectation
The report should be generated.
Notes
The error goes away when I remove the
derives Codec.AsObject
parts:and the coverage is collected:
The text was updated successfully, but these errors were encountered: