summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/transform/LambdaLift.scala12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/LambdaLift.scala b/src/compiler/scala/tools/nsc/transform/LambdaLift.scala
index 8c4663cd48..868bbb1e42 100644
--- a/src/compiler/scala/tools/nsc/transform/LambdaLift.scala
+++ b/src/compiler/scala/tools/nsc/transform/LambdaLift.scala
@@ -464,12 +464,12 @@ abstract class LambdaLift extends InfoTransform {
val factoryCall = typer.typedPos(rhs.pos) {
rhs match {
- case EmptyTree =>
- val zeroMSym = refZeroMethod(refTypeSym)
- gen.mkMethodCall(zeroMSym, Nil)
- case arg =>
- val createMSym = refCreateMethod(refTypeSym)
- gen.mkMethodCall(createMSym, arg :: Nil)
+ case EmptyTree =>
+ val zeroMSym = refZeroMethod(refTypeSym)
+ gen.mkMethodCall(zeroMSym, Nil)
+ case arg =>
+ val createMSym = refCreateMethod(refTypeSym)
+ gen.mkMethodCall(createMSym, arg :: Nil)
}
}