We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using @nowarn to silence warnings when the returned value of an expression is discarded.
@nowarn
With scala 2.13.15 and scoverage 2.2.1, I get the @nowarn annotation does not suppress any warnings only when coverage is enabled.
2.13.15
2.2.1
@nowarn annotation does not suppress any warnings
You can see the build here where it only fails when coverage is on (fatal warnings is enabled)
when enabling coverage, I expect the compiler to report the same warnings as when coverage is disabled
sbt
v2.2.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I'm using
@nowarn
to silence warnings when the returned value of an expression is discarded.With scala
2.13.15
and scoverage2.2.1
, I get the@nowarn annotation does not suppress any warnings
only when coverage is enabled.You can see the build here where it only fails when coverage is on (fatal warnings is enabled)
Expected behavior
when enabling coverage, I expect the compiler to report the same warnings as when coverage is disabled
What build tool are you using?
sbt
Version of scoverage
v2.2.1
The text was updated successfully, but these errors were encountered: