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 405b5d8 commit 6db9f8bCopy full SHA for 6db9f8b
compiler/src/dotty/tools/dotc/typer/Applications.scala
@@ -969,7 +969,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
969
args.init :+ argSeq
970
case _ =>
971
val (regularArgs, varArgs) = args.splitAt(argTypes.length - 1)
972
- regularArgs :+ untpd.SeqLiteral(varArgs, untpd.TypeTree())
+ regularArgs :+ untpd.SeqLiteral(varArgs, untpd.TypeTree()).withPos(tree.pos)
973
}
974
else if (argTypes.lengthCompare(1) == 0 && args.lengthCompare(1) > 0 && ctx.canAutoTuple)
975
untpd.Tuple(args) :: Nil
0 commit comments