-coverage-out
generates unlinkable code on Scala.js
#15383
Labels
area:coverage
Code coverage, see https://dotty.epfl.ch/docs/internals/coverage.html
area:scala.js
area:scala.native
itype:enhancement
Compiler version
3.2.0-RC1-bin-20220604-13ce496-NIGHTLY
Minimized code
Output
Expectation
Scoverage for Scala 2 is supported on Scala.js, so it should be on Scala 3 as well.
This is complicated by two things:
scalajs-fake-insecure-java-securerandom
dependency scoverage/scalac-scoverage-plugin#465Either these changes need to be ported to Dotty, or I wonder if a better solution might be to shell out to the Scala 2 runtime with
for3Use2_13
./cc @ckipp01 @TheElectronWill
The text was updated successfully, but these errors were encountered: