Skip to content

Commit 6a5f698

Browse files
committed
Fix merge error
1 parent 3dec6ef commit 6a5f698

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
@@ -585,7 +585,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
585585

586586
/** Is `formal` a product type which is elementwise compatible with `params`? */
587587
def ptIsCorrectProduct(formal: Type) = {
588-
val pclass = defn.ProductNClass(params.length)
588+
val pclass = defn.ProductNType(params.length).symbol
589589
isFullyDefined(formal, ForceDegree.noBottom) &&
590590
formal.derivesFrom(pclass) &&
591591
formal.baseArgTypes(pclass).corresponds(params) {

0 commit comments

Comments
 (0)