diff options
author | Paul Phillips <paulp@improving.org> | 2009-05-20 17:57:27 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-05-20 17:57:27 +0000 |
commit | f151228bbd902d48c1d66e99b3779659f4a1b478 (patch) | |
tree | e19629c2fc272e14ceb6a4e4e74e07bb2cc1b165 /src/compiler/scala/tools/nsc/typechecker/Analyzer.scala | |
parent | 14a4920c0c3381d8992673e3994739b1e2783c84 (diff) | |
download | scala-f151228bbd902d48c1d66e99b3779659f4a1b478.tar.gz scala-f151228bbd902d48c1d66e99b3779659f4a1b478.tar.bz2 scala-f151228bbd902d48c1d66e99b3779659f4a1b478.zip |
Unreasonably satisfying patch which sets immuta...
Unreasonably satisfying patch which sets immutable final val inIDE = false
and then performs dead code elimination (human style.)
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Analyzer.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Analyzer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala b/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala index 1cdc1563e8..31bb361d68 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala @@ -41,7 +41,7 @@ trait Analyzer extends AnyRef val runsAfter = List[String]() val runsRightAfter = Some("namer") def newPhase(_prev: Phase): StdPhase = new StdPhase(_prev) { - if (!inIDE) resetTyper() + resetTyper() def apply(unit: CompilationUnit) { try { unit.body = newTyper(rootContext(unit)).typed(unit.body) |