Skip to content

Commit 686c65f

Browse files
Consider TypeParamRef uninstantiated
1 parent 6549e1c commit 686c65f

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
@@ -2542,7 +2542,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
25422542
x && {
25432543
t match {
25442544
case tp: TypeRef if tp.symbol.isAbstractOrParamType => false
2545-
case _: SkolemType | _: TypeVar => false
2545+
case _: SkolemType | _: TypeVar | _: TypeParamRef => false
25462546
case _ => foldOver(x, t)
25472547
}
25482548
}

0 commit comments

Comments
 (0)