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 d42347f commit 83ae00dCopy full SHA for 83ae00d
compiler/src/dotty/tools/dotc/typer/Applications.scala
@@ -110,7 +110,7 @@ object Applications {
110
}
111
112
def namedTupleOrProductTypes(tp: Type)(using Context): List[Type] =
113
- if tp.isNamedTupleType then tp.namedTupleElementTypes.map(_(1))
+ if tp.isNamedTupleType then tp.namedTupleElementTypes(true).map(_(1))
114
else productSelectorTypes(tp, NoSourcePosition)
115
116
def productSelectorTypes(tp: Type, errorPos: SrcPos)(using Context): List[Type] = {
0 commit comments