summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2008-06-04 13:08:18 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2008-06-04 13:08:18 +0000
commit8c06a1a54516bbbeed907da3446b372b732c4329 (patch)
treecbdd5d3737c9e3b5fd817f33adc120f8eb68d4f1 /src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
parenta5ef3d597df276500e294d5f758ce7d7033e8835 (diff)
downloadscala-8c06a1a54516bbbeed907da3446b372b732c4329.tar.gz
scala-8c06a1a54516bbbeed907da3446b372b732c4329.tar.bz2
scala-8c06a1a54516bbbeed907da3446b372b732c4329.zip
Fixing problem with case classes and companion ...
Fixing problem with case classes and companion objects
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Analyzer.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Analyzer.scala2
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 50fbc23c3d..bca41b1fee 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
@@ -35,7 +35,7 @@ trait Analyzer extends AnyRef
val global: Analyzer.this.global.type = Analyzer.this.global
val phaseName = "typer"
def newPhase(_prev: Phase): StdPhase = new StdPhase(_prev) {
- resetTyper()
+ if (!inIDE) resetTyper()
def apply(unit: CompilationUnit) {
unit.body = newTyper(rootContext(unit)).typed(unit.body)
}