Skip to content

Commit 6904fb0

Browse files
Fix 10747-shapeless-min.scala
Don't consider types to be fullyInstanciated when containing a TypeParamRef.
1 parent 7c095ae commit 6904fb0

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
@@ -2565,7 +2565,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
25652565
x && {
25662566
t match {
25672567
case tp: TypeRef if tp.symbol.isAbstractOrParamType => false
2568-
case _: SkolemType | _: TypeVar => false
2568+
case _: SkolemType | _: TypeVar | _: TypeParamRef => false
25692569
case _ => foldOver(x, t)
25702570
}
25712571
}

0 commit comments

Comments
 (0)