aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dotty/tools/dotc/typer/Applications.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Applications.scala b/src/dotty/tools/dotc/typer/Applications.scala
index cb14fd785..ac02b9c59 100644
--- a/src/dotty/tools/dotc/typer/Applications.scala
+++ b/src/dotty/tools/dotc/typer/Applications.scala
@@ -408,7 +408,7 @@ trait Applications extends Compatibility { self: Typer =>
val ownType = ctx.traceIndented(i"apply $methRef to $typedArgs%, %", show = true) {
if (!success) ErrorType
else {
- if (!sameSeq(app.args, orderedArgs)) {
+ if (!sameSeq(args, orderedArgs)) {
// need to lift arguments to maintain evaluation order in the
// presence of argument reorderings.
liftFun()