summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/transform/UnCurry.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/UnCurry.scala')
-rw-r--r--src/compiler/scala/tools/nsc/transform/UnCurry.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/UnCurry.scala b/src/compiler/scala/tools/nsc/transform/UnCurry.scala
index 1f4698c214..79f2b0c734 100644
--- a/src/compiler/scala/tools/nsc/transform/UnCurry.scala
+++ b/src/compiler/scala/tools/nsc/transform/UnCurry.scala
@@ -381,13 +381,13 @@ abstract class UnCurry extends InfoTransform with TypingTransformers {
case Apply(Select(Block(List(), Function(vparams, body)), nme.apply), args) =>
// perform beta-reduction; this helps keep view applications small
withNeedLift(true) {
- mainTransform(new TreeSubstituter(vparams map (.symbol), args).transform(body))
+ mainTransform(new TreeSubstituter(vparams map (_.symbol), args).transform(body))
}
case Apply(Select(Function(vparams, body), nme.apply), args) =>
// perform beta-reduction; this helps keep view applications small
withNeedLift(true) {
- mainTransform(new TreeSubstituter(vparams map (.symbol), args).transform(body))
+ mainTransform(new TreeSubstituter(vparams map (_.symbol), args).transform(body))
}
case UnApply(fn, args) =>