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 545dd69 commit d614d0bCopy full SHA for d614d0b
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -3556,10 +3556,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
3556
def typedTuple(tree: untpd.Tuple, pt: Type)(using Context): Tree =
3557
val tree1 = desugar.tuple(tree, pt).withAttachmentsFrom(tree)
3558
checkDeprecatedAssignmentSyntax(tree)
3559
- if tree1 ne tree then
3560
- val t = typed(tree1, pt)
3561
- // println(i"typedTuple: ${t} , ${t.tpe}")
3562
- t
+ if tree1 ne tree then typed(tree1, pt)
3563
else
3564
val arity = tree.trees.length
3565
val pts = pt.stripNamedTuple.tupleElementTypes match
0 commit comments