- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.1k
Closed
Labels
area:lintingLinting warnings enabled with -W or -XlintLinting warnings enabled with -W or -Xlintitype:bug
Milestone
Description
Compiler version
3.3.0, 3.3.1, 3.4.0-RC1-bin-20231211-feed938-NIGHTLY
Minimized code
object Deps:
  trait D1
  object D2
end Deps
object Bug:
  import Deps.D1
  class Cl(d1: D1):
    import Deps.*
    def f = (d1, D2)
end BugOutput
if compiled with -Wunused:imports:
[warn] ./bug.scala:7:15
[warn] unused import
[warn]   import Deps.D1
[warn]               ^^
Expectation
Shouldn't emit any warnings.
honzatrtik
Metadata
Metadata
Assignees
Labels
area:lintingLinting warnings enabled with -W or -XlintLinting warnings enabled with -W or -Xlintitype:bug