Skip to content

Commit 96c7d28

Browse files
Quickfix Quickfix Quickfix #2704
I guess this is what you went in your previous commit?
1 parent 95e7f24 commit 96c7d28

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

compiler/src/dotty/tools/backend/jvm/DottyBackendInterface.scala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -531,13 +531,10 @@ class DottyBackendInterface(outputDirectory: AbstractFile, val superCallsMap: Ma
531531
case Apply(fun, args) =>
532532
fun.tpe.widen match {
533533
case MethodType(names) =>
534-
(names zip args).filter{x => x match {
535-
case t: tpd.Ident if (t.tpe.normalizedPrefix eq NoPrefix) =>
536-
false
534+
(names zip args).filter {
535+
case (_, t: tpd.Ident) if (t.tpe.normalizedPrefix eq NoPrefix) => false
537536
case _ => true
538537
}
539-
540-
}
541538
}
542539
}
543540
}

0 commit comments

Comments
 (0)