Skip to content

Commit 81b5f84

Browse files
committed
Fix merge error
1 parent 62a526e commit 81b5f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
613613

614614
/** Is `formal` a product type which is elementwise compatible with `params`? */
615615
def ptIsCorrectProduct(formal: Type) = {
616-
val pclass = defn.ProductNClass(params.length)
616+
val pclass = defn.ProductNType(params.length).symbol
617617
isFullyDefined(formal, ForceDegree.noBottom) &&
618618
formal.derivesFrom(pclass) &&
619619
formal.baseArgTypes(pclass).corresponds(params) {

0 commit comments

Comments
 (0)