Skip to content

Commit 42c7c20

Browse files
committed
Remove redundant code
1 parent f480837 commit 42c7c20

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/src/dotty/tools/dotc/typer/ImportSuggestions.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,6 @@ trait ImportSuggestions:
233233

234234
try
235235
val roots = suggestionRoots
236-
.filterNot(root => defn.rootImportTypes.exists(_.symbol == root.symbol))
237-
// don't suggest things that are imported by default
238236

239237
def extensionImports = pt match
240238
case ViewProto(argType, SelectionProto(name: TermName, _, _, _)) =>

0 commit comments

Comments
 (0)