Skip to content

Commit a279405

Browse files
Fix 10747-shapeless-min.scala
Don't consider types to be fullyInstanciated when containing a TypeParamRef.
1 parent 88b61a6 commit a279405

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
@@ -2570,7 +2570,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
25702570
x && {
25712571
t match {
25722572
case tp: TypeRef if tp.symbol.isAbstractOrParamType => false
2573-
case _: SkolemType | _: TypeVar => false
2573+
case _: SkolemType | _: TypeVar | _: TypeParamRef => false
25742574
case _ => foldOver(x, t)
25752575
}
25762576
}

0 commit comments

Comments
 (0)