From 83ae00dded56624fb840942825fc763bf8c5a008 Mon Sep 17 00:00:00 2001 From: aherlihy Date: Mon, 13 Jan 2025 09:00:12 -0500 Subject: [PATCH] Update rebased --- compiler/src/dotty/tools/dotc/typer/Applications.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/typer/Applications.scala b/compiler/src/dotty/tools/dotc/typer/Applications.scala index c2864093ff70..164df6aae5b8 100644 --- a/compiler/src/dotty/tools/dotc/typer/Applications.scala +++ b/compiler/src/dotty/tools/dotc/typer/Applications.scala @@ -110,7 +110,7 @@ object Applications { } def namedTupleOrProductTypes(tp: Type)(using Context): List[Type] = - if tp.isNamedTupleType then tp.namedTupleElementTypes.map(_(1)) + if tp.isNamedTupleType then tp.namedTupleElementTypes(true).map(_(1)) else productSelectorTypes(tp, NoSourcePosition) def productSelectorTypes(tp: Type, errorPos: SrcPos)(using Context): List[Type] = {