Skip to content

Commit 8d8942a

Browse files
committed
Fix typo
1 parent 5057418 commit 8d8942a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dotty/tools/dotc/transform/LambdaLift.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisTransform
393393
def proxyInit(field: Symbol, param: Symbol) =
394394
transformFollowingDeep(memberRef(field).becomes(ref(param)))
395395

396-
/** Map references to proxy fields `this.proxy` to procy parameers */
396+
/** Map references to proxy fields `this.proxy` to proxy parameters */
397397
def mapProxies = new TreeMap {
398398
override def transform(tree: Tree)(implicit ctx: Context) = tree match {
399399
case Select(This(_), _) if proxies contains tree.symbol =>
@@ -408,7 +408,7 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisTransform
408408
ctx.log(i"copy params ${proxies.map(_.showLocated)}%, %, own = ${ownProxies.map(_.showLocated)}%, %")
409409
seq((proxies, ownProxies).zipped.map(proxyInit), mapProxies.transform(rhs))
410410
}
411-
411+
412412
tree match {
413413
case tree: DefDef =>
414414
cpy.DefDef(tree)(

0 commit comments

Comments
 (0)