Skip to content

Commit

Permalink
Update rebased
Browse files Browse the repository at this point in the history
  • Loading branch information
aherlihy committed Jan 13, 2025
1 parent d42347f commit 83ae00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/typer/Applications.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down

0 comments on commit 83ae00d

Please sign in to comment.