We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cad72a commit 308cbb1Copy full SHA for 308cbb1
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -2542,7 +2542,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
2542
x && {
2543
t match {
2544
case tp: TypeRef if tp.symbol.isAbstractOrParamType => false
2545
- case _: SkolemType | _: TypeVar => false
+ case _: SkolemType | _: TypeVar | _: TypeParamRef => false
2546
case _ => foldOver(x, t)
2547
}
2548
0 commit comments