diff options
author | Paul Phillips <paulp@improving.org> | 2010-10-11 05:58:45 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-10-11 05:58:45 +0000 |
commit | a350673750d431c4f6159c908e3aca4af43057c4 (patch) | |
tree | b7d38fcbee86031e370d4a2a1ce173a2feedfaee /src/compiler/scala/tools/nsc/transform/Flatten.scala | |
parent | 487e5bf895cde949c6c057e029c0bf96c6232431 (diff) | |
download | scala-a350673750d431c4f6159c908e3aca4af43057c4.tar.gz scala-a350673750d431c4f6159c908e3aca4af43057c4.tar.bz2 scala-a350673750d431c4f6159c908e3aca4af43057c4.zip |
Some cleanups in the compiler source.
eliminated the import of ambiguously named classes from e.g.
collection.mutable, obeyed a todo in the parser regarding dropping
lbracket from statement starting tokens. No review.
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 96c050b51f..512c5fe2bd 100644 --- a/src/compiler/scala/tools/nsc/transform/Flatten.scala +++ b/src/compiler/scala/tools/nsc/transform/Flatten.scala @@ -8,7 +8,8 @@ package transform import symtab._ import Flags._ -import scala.collection.mutable.{HashMap, ListBuffer} +import scala.collection.{ mutable, immutable } +import scala.collection.mutable.ListBuffer abstract class Flatten extends InfoTransform { import global._ @@ -76,7 +77,7 @@ abstract class Flatten extends InfoTransform { class Flattener extends Transformer { /** Buffers for lifted out classes */ - private val liftedDefs = new HashMap[Symbol, ListBuffer[Tree]] + private val liftedDefs = new mutable.HashMap[Symbol, ListBuffer[Tree]] override def transform(tree: Tree): Tree = { tree match { |