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
3.3.0-RC5
//> using scala "3.3.0-RC5" //> using options "-Wunused:all" case class Foo(x: Int) val foo = Foo(1) @main def main = import foo.{x as y} println(y)
Compiling project (Scala 3.3.0-RC5, JVM) ./UnusedImport.scala:10:15 unused import import foo.{x as y} 1
It shouldn't report any warning as the import is being used.
The text was updated successfully, but these errors were encountered:
Duplicate of #17315
Sorry, something went wrong.
szymon-rd
No branches or pull requests
Compiler version
3.3.0-RC5
Minimized code
Output
Expectation
It shouldn't report any warning as the import is being used.
The text was updated successfully, but these errors were encountered: