Skip to content

Commit bf225cc

Browse files
committed
Remove useless inFrozenConstraint
1 parent 88d3822 commit bf225cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
392392
assumedTrue(tp1) ||
393393
tp2.match {
394394
case tp2: TypeParamRef =>
395-
inFrozenConstraint(constraint.isLess(tp1, tp2))
395+
constraint.isLess(tp1, tp2)
396396
case _ =>
397397
false
398398
} ||

0 commit comments

Comments
 (0)