Skip to content

Commit 98a0ccb

Browse files
som-snytttgodzik
authored andcommitted
Remove obsolete unused options
1 parent 48de883 commit 98a0ccb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/src/dotty/tools/dotc/transform/CheckUnused.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -712,9 +712,6 @@ object CheckUnused:
712712
import Rewrites.ActionPatch
713713
type ImpSel = (Import, ImportSelector)
714714
def isUsed(sel: ImportSelector): Boolean = infos.sels.containsKey(sel)
715-
@unused // avoid merge conflict
716-
def isUsable(imp: Import, sel: ImportSelector): Boolean =
717-
sel.isImportExclusion || infos.sels.containsKey(sel)
718715
def warnImport(warnable: ImpSel, actions: List[CodeAction] = Nil): Unit =
719716
val (imp, sel) = warnable
720717
val msg = UnusedSymbol.imports(actions)

0 commit comments

Comments
 (0)