Skip to content

Commit a4ef09a

Browse files
liufengyunmichelou
authored andcommitted
Remove unused variable
1 parent e0614b5 commit a4ef09a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3804,8 +3804,6 @@ class Typer extends Namer
38043804
mapOver(tp)
38053805
}
38063806

3807-
val sym = tree.tpe.widen.classSymbol
3808-
38093807
// Is it certain that a value of `tree.tpe` is never a subtype of `pt`?
38103808
// It is true if either
38113809
// - the class of `tree.tpe` and class of `pt` cannot have common subclass, or

0 commit comments

Comments
 (0)