Skip to content
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

[1.5.0-RC1] @nowarn annotation does not suppress any warnings #6398

Closed
eed3si9n opened this issue Mar 15, 2021 · 1 comment · Fixed by #6403
Closed

[1.5.0-RC1] @nowarn annotation does not suppress any warnings #6398

eed3si9n opened this issue Mar 15, 2021 · 1 comment · Fixed by #6403
Labels
Milestone

Comments

@eed3si9n
Copy link
Member

problem

[error] /home/travis/build/lightbend/mima/project/MimaSettings.scala:16:27: @nowarn annotation does not suppress any warnings
[error]     mimaPreviousArtifacts := Set(pluginProjectID.value.withRevision(mimaPreviousVersion)
[error]                           ^
[error] /home/travis/build/lightbend/mima/project/MimaSettings.scala:19:33: @nowarn annotation does not suppress any warnings
[error]     mimaReportSignatureProblems := true,
[error]                                 ^
[error] /home/travis/build/lightbend/mima/project/MimaSettings.scala:20:28: @nowarn annotation does not suppress any warnings
[error]     mimaBinaryIssueFilters ++= Seq(
[error]                            ^
[error] three errors found

This looks some kind of consequence of the 2.12.13 upgrade? Note that @nowarn appears nowhere in this repo.

This was caught by the Scala community build.

Originally posted by @SethTisue in lightbend-labs/mima#608 (comment)

@eed3si9n eed3si9n added the Bug label Mar 15, 2021
@eed3si9n
Copy link
Member Author

This is a consequence of me adding blanket @scala.annotation.nowarn("cat=other-pure-statement") to build.sbt DSL expressions.

I think we need to add no-warn-nowarn suppression thing somewhere.

@eed3si9n eed3si9n added this to the 1.5.0 milestone Mar 18, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant