From 8d8942a843b86e50eebea4016d65f40e94e93e9c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 22 Jun 2015 11:22:48 +0200 Subject: Fix typo --- src/dotty/tools/dotc/transform/LambdaLift.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dotty/tools/dotc/transform/LambdaLift.scala b/src/dotty/tools/dotc/transform/LambdaLift.scala index 2f06190c3..043c92737 100644 --- a/src/dotty/tools/dotc/transform/LambdaLift.scala +++ b/src/dotty/tools/dotc/transform/LambdaLift.scala @@ -393,7 +393,7 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisTransform def proxyInit(field: Symbol, param: Symbol) = transformFollowingDeep(memberRef(field).becomes(ref(param))) - /** Map references to proxy fields `this.proxy` to procy parameers */ + /** Map references to proxy fields `this.proxy` to proxy parameters */ def mapProxies = new TreeMap { override def transform(tree: Tree)(implicit ctx: Context) = tree match { case Select(This(_), _) if proxies contains tree.symbol => @@ -408,7 +408,7 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisTransform ctx.log(i"copy params ${proxies.map(_.showLocated)}%, %, own = ${ownProxies.map(_.showLocated)}%, %") seq((proxies, ownProxies).zipped.map(proxyInit), mapProxies.transform(rhs)) } - + tree match { case tree: DefDef => cpy.DefDef(tree)( -- cgit v1.2.3