summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-09-03 10:07:36 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-09-03 10:07:36 +0000
commit6fd613c19254867c4b2f120474e8bdb2b935b97f (patch)
tree113edcf8f8d647b1a959986c489cfb88abeda85d /src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
parent386fe95009444fd73434dc3e37e193dbf0cee580 (diff)
downloadscala-6fd613c19254867c4b2f120474e8bdb2b935b97f.tar.gz
scala-6fd613c19254867c4b2f120474e8bdb2b935b97f.tar.bz2
scala-6fd613c19254867c4b2f120474e8bdb2b935b97f.zip
Phases now have a checkable flag, used by the n...
Phases now have a checkable flag, used by the new -Ycheck:all option.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Analyzer.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Analyzer.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala b/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
index bca41b1fee..ca9f654b76 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
@@ -25,6 +25,7 @@ trait Analyzer extends AnyRef
val global: Analyzer.this.global.type = Analyzer.this.global
val phaseName = "namer"
def newPhase(_prev: Phase): StdPhase = new StdPhase(_prev) {
+ override val checkable = false
def apply(unit: CompilationUnit) {
newNamer(rootContext(unit)).enterSym(unit.body)
}