You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importexample.test1 as t1^^^^^^^^^^^
unused import
Expectation
The import should not be reported unused since the rest of the code in object test2 fails to compile without it. This seems to only happen when the renamed import comes from the same package as the code where it's imported.
The text was updated successfully, but these errors were encountered:
Compiler version
3.3.0-RC3
Minimized code
https://scastie.scala-lang.org/mrdziuban/e4rXAgetT5aGQLL1zt4BJw/9
Output
Expectation
The import should not be reported unused since the rest of the code in
object test2
fails to compile without it. This seems to only happen when the renamed import comes from the same package as the code where it's imported.The text was updated successfully, but these errors were encountered: