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
-Ymacro-annotations
-Wunused:imports
% cat S.scala import java.util.List % scalac --scala-version 2.13.2 -Wunused:imports S.scala S.scala:1: warning: Unused import import java.util.List ^ 1 warning % scalac --scala-version 2.13.2 -Wunused:imports -Ymacro-annotations S.scala %
the import is unused, but adding -Ymacro-annotations prevents that from being reported
this regressed in 2.13.2; if you do the above on 2.13.1 it's fine
(reported by @Billzabob on Gitter; great catch!)
(note that --scala-version comes from scala-runners, though that's not important to the bug)
--scala-version
The text was updated successfully, but these errors were encountered:
attn @som-snytt @lrytz
Sorry, something went wrong.
Probably because Namers must makeImportContext after scala/scala#8801
som-snytt
Successfully merging a pull request may close this issue.
the import is unused, but adding
-Ymacro-annotations
prevents that from being reportedthis regressed in 2.13.2; if you do the above on 2.13.1 it's fine
(reported by @Billzabob on Gitter; great catch!)
(note that
--scala-version
comes from scala-runners, though that's not important to the bug)The text was updated successfully, but these errors were encountered: