Skip to content

Macro libraries breaks coverage report for Scala 3 with sources not found #474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arixmkii opened this issue Jun 21, 2022 · 1 comment
Closed

Comments

@arixmkii
Copy link

Plugin Version: 2.0.0-RC2
Scala Version: 3.2.0-RC1

It seems Scala 3 generates coverage information for third party libraries with macro features and then report can't be generated because sources are not available for them.

Example project to reproduce the issue https://github.com/arixmkii/macro_cov_3.2.0-RC1

I will report it as well in dotty github to ask if this behavior is really desired.

@ckipp01
Copy link
Member

ckipp01 commented Jun 25, 2022

Since for Scala 3 the coverage instrumentation is actual in the compiler (and I see you created an issue there already) I'm going to go ahead and close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants