Skip to content

Commit 5dd58bf

Browse files
committed
Remove unused variable
1 parent 0db8ad3 commit 5dd58bf

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
@@ -3808,8 +3808,6 @@ class Typer extends Namer
38083808
mapOver(tp)
38093809
}
38103810

3811-
val sym = tree.tpe.widen.classSymbol
3812-
38133811
// Is it certain that a value of `tree.tpe` is never a subtype of `pt`?
38143812
// It is true if either
38153813
// - the class of `tree.tpe` and class of `pt` cannot have common subclass, or

0 commit comments

Comments
 (0)