diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/Flatten.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/Flatten.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/Flatten.scala b/src/compiler/scala/tools/nsc/transform/Flatten.scala index 1c538dcbf6..b66be5d98c 100644 --- a/src/compiler/scala/tools/nsc/transform/Flatten.scala +++ b/src/compiler/scala/tools/nsc/transform/Flatten.scala @@ -1,5 +1,5 @@ /* NSC -- new Scala compiler - * Copyright 2005-2006 LAMP/EPFL + * Copyright 2005-2007 LAMP/EPFL * @author Martin Odersky */ // $Id$ @@ -18,7 +18,7 @@ abstract class Flatten extends InfoTransform { /** the following two members override abstract members in Transform */ val phaseName: String = "flatten" - private def liftClass(sym: Symbol): unit = + private def liftClass(sym: Symbol) { if (!(sym hasFlag LIFTED)) { sym setFlag LIFTED atPhase(phase.next) { @@ -30,6 +30,7 @@ abstract class Flatten extends InfoTransform { scope enter sym } } + } private val flattened = new TypeMap { def apply(tp: Type): Type = tp match { |