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 cb4e1b8 commit e04786fCopy full SHA for e04786f
compiler/src/dotty/tools/dotc/typer/Applications.scala
@@ -653,9 +653,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
653
654
typedArgs = liftArgs(liftedDefs, methType, liftable) ++ rest
655
656
- val newOrder = (liftedDefs zip indices).sortBy(_._2).unzip._1
657
- liftedDefs = ListBuffer.empty
658
- liftedDefs ++= newOrder
+ liftedDefs = (liftedDefs zip indices).sortBy(_._2).unzip._1.to
659
}
660
if (firstDiff(typedArgs, args) < 0) // trick to cut down on tree copying
661
typedArgs = args.asInstanceOf[List[Tree]]
0 commit comments