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 bc81563 commit b454936Copy full SHA for b454936
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -775,7 +775,7 @@ class TypeComparer(initctx: Context) extends DotClass with ConstraintHandling {
775
(v < 0 || isSubType(tp1, tp2))
776
}
777
isSub(args1.head, args2.head)
778
- } && isSubArgs(args1.tail, args2.tail, tparams)
+ } && isSubArgs(args1.tail, args2.tail, tparams.tail)
779
780
/** Test whether `tp1` has a base type of the form `B[T1, ..., Tn]` where
781
* - `B` derives from one of the class symbols of `tp2`,
0 commit comments