summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/transform/LambdaLift.scala
diff options
context:
space:
mode:
authorSamy Dindane <samy@dindane.com>2013-01-24 17:42:02 +0100
committerSamy Dindane <samy@dindane.com>2013-01-24 17:59:04 +0100
commita01e535f3a53eb05c7c4dbc5a1fa511fc486ee7f (patch)
tree9e37fdb08315a5e969187e2e36522c65258dccb1 /src/compiler/scala/tools/nsc/transform/LambdaLift.scala
parent1e69a0b67a184ca9d0b205a407e34cf85d11372c (diff)
downloadscala-a01e535f3a53eb05c7c4dbc5a1fa511fc486ee7f.tar.gz
scala-a01e535f3a53eb05c7c4dbc5a1fa511fc486ee7f.tar.bz2
scala-a01e535f3a53eb05c7c4dbc5a1fa511fc486ee7f.zip
Fix some typos
Fixes mostly "a int", "a a thing" kind of typos. Also removes trailing whitespaces, useless empty lines and commented println() from "test/files/run/ctries-new/iterator.scala".
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/LambdaLift.scala')
-rw-r--r--src/compiler/scala/tools/nsc/transform/LambdaLift.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/LambdaLift.scala b/src/compiler/scala/tools/nsc/transform/LambdaLift.scala
index 0198f959e3..b081fb7e3f 100644
--- a/src/compiler/scala/tools/nsc/transform/LambdaLift.scala
+++ b/src/compiler/scala/tools/nsc/transform/LambdaLift.scala
@@ -245,7 +245,7 @@ abstract class LambdaLift extends InfoTransform {
freshen(sym.name + nme.NAME_JOIN_STRING + sym.owner.name + nme.NAME_JOIN_STRING)
} else {
// SI-5652 If the lifted symbol is accessed from an inner class, it will be made public. (where?)
- // Generating a a unique name, mangled with the enclosing class name, avoids a VerifyError
+ // Generating a unique name, mangled with the enclosing class name, avoids a VerifyError
// in the case that a sub-class happens to lifts out a method with the *same* name.
val name = freshen("" + sym.name + nme.NAME_JOIN_STRING)
if (originalName.isTermName && !sym.enclClass.isImplClass && calledFromInner(sym)) nme.expandedName(name.toTermName, sym.enclClass)