Skip to content

Commit a0c746f

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

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

0 commit comments

Comments
 (0)