diff options
author | Paul Phillips <paulp@improving.org> | 2009-07-05 12:51:47 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-07-05 12:51:47 +0000 |
commit | e373d268a5a15daab4ee2aef8f45eccca908b026 (patch) | |
tree | 34917676b77d29a567ccf9314b4c04b41948d975 /src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala | |
parent | 3ba0e87fed08f64066bf3412580fcdf635762f31 (diff) | |
download | scala-e373d268a5a15daab4ee2aef8f45eccca908b026.tar.gz scala-e373d268a5a15daab4ee2aef8f45eccca908b026.tar.bz2 scala-e373d268a5a15daab4ee2aef8f45eccca908b026.zip |
Removed a pile of gratuitous implicit parameter...
Removed a pile of gratuitous implicit parameters from the pattern
matcher. Moved many things to more believable locations. Transitioned
everything in CodeFactory and deleted it.
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala index a27f6989e1..bd5e71d23c 100644 --- a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala +++ b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala @@ -8,8 +8,8 @@ package scala.tools.nsc.transform import symtab._ import Flags.{ CASE => _, _ } -import scala.collection.mutable.{HashMap, ListBuffer} -import matching.{TransMatcher, PatternNodes, CodeFactory, ParallelMatching} +import scala.collection.mutable.ListBuffer +import matching.{ TransMatcher, PatternNodes, ParallelMatching } /** This class ... * @@ -19,7 +19,6 @@ import matching.{TransMatcher, PatternNodes, CodeFactory, ParallelMatching} abstract class ExplicitOuter extends InfoTransform with TransMatcher with PatternNodes - with CodeFactory with ParallelMatching with TypingTransformers with ast.TreeDSL @@ -460,7 +459,7 @@ abstract class ExplicitOuter extends InfoTransform ExplicitOuter.this.resultType = tree.tpe val t = atPos(tree.pos) { - val t_untyped = handlePattern(nselector, ncases, checkExhaustive, currentOwner, transform)(localTyper) + val t_untyped = handlePattern(nselector, ncases, checkExhaustive, currentOwner, transform, localTyper) /* if @switch annotation is present, verify the resulting tree is a Match */ if (requireSwitch) t_untyped match { case Block(_, Match(_, _)) => // ok |