Closed rhass closed 1 year ago
Note, another person on the Scoverage Gitter reported the same issue: https://gitter.im/scoverage/scoverage?at=623c7ad06b912423204c90aa
Thanks for the report @rhass although I don't believe this is actually an issue here but rather in the gradle plugin although I'm not sure without digging in further. However, I've gone ahead and added some tests that call this method in #491 and the 2.13 tests are passing fine. I'd recommend reporting this to the gradle plugin.
@ckipp01 Interesting! Thanks for adding this as well. I'll open an issue with the Gradle plugin.
I'll go ahead and close this for now. However if you do find out that it's actually related to core here just report back.
Describe the bug
Scala 2.13 changed the Array object such that the call
.toSeq
no longer works. I suspect this migration doc is relevant to this issue: https://docs.scala-lang.org/overviews/core/collections-migration-213.htmlIt also appears there isn't any code-coverage for this code path in CoverageAggregator, which may be why this continues to pass tests.
This issue breaks the the gradle-scoverage
.aggregate
method which results in the following stack trace:Expected behavior
The expected behavior is for scoverage to function without issues.
What build tool are you using?
Gradle
Version of scoverage
1.4.11