Skip to content

Commit 6e42644

Browse files
committed
Fix variable name
1 parent 95907f9 commit 6e42644

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/core/TypeComparer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3441,8 +3441,8 @@ class MatchReducer(initctx: Context) extends TypeComparer(initctx) {
34413441
isConcrete(tp1.underlying)
34423442
case tp1: AndOrType =>
34433443
isConcrete(tp1.tp1) && isConcrete(tp1.tp2)
3444-
case tp: FlexibleType =>
3445-
isConcrete(tp.hi)
3444+
case tp1: FlexibleType =>
3445+
isConcrete(tp1.hi)
34463446
case _ =>
34473447
val tp2 = tp1.stripped.stripLazyRef
34483448
(tp2 ne tp) && isConcrete(tp2)

0 commit comments

Comments
 (0)