We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Wconf:origin=
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
3.4.x
scala -Xlint -Wconf:origin='scala.collection.JavaConverters.*':s Welcome to Scala 2.13.12 (OpenJDK 64-Bit Server VM, Java 21.0.2). Type in expressions for evaluation. Or try :help. scala> class C { import scala.collection.JavaConverters._ } class C scala> class C { import collection.JavaConverters._; def f(xs: java.util.List[String]) = xs.asScala } class C
Warning suppression of unused import and deprecated usage.
Parity in Scala 3.
The origin filter is especially handy because import clauses do not receive annotations such as nowarn.
origin
nowarn
https://discord.com/channels/632277896739946517/839243149745455174/1202305289479528478
The text was updated successfully, but these errors were encountered:
Duplicate of #17538?
Sorry, something went wrong.
@SethTisue thanks I only saw src fsr.
src
-Wconf
@nowarn
No branches or pull requests
Compiler version
3.4.x
Minimized code
Output
Warning suppression of unused import and deprecated usage.
Expectation
Parity in Scala 3.
The
origin
filter is especially handy because import clauses do not receive annotations such asnowarn
.https://discord.com/channels/632277896739946517/839243149745455174/1202305289479528478
The text was updated successfully, but these errors were encountered: