summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
diff options
context:
space:
mode:
authornielsen <nielsen@epfl.ch>2009-02-05 14:07:53 +0000
committernielsen <nielsen@epfl.ch>2009-02-05 14:07:53 +0000
commitf9d6f834b6700ce90f2235604e7f269748c92276 (patch)
tree3bbf19bdf012960863053cd49ba122e59286d7a8 /src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
parentec3ee84bd2b4131a4d5942a63da7b834fd3f1daf (diff)
downloadscala-f9d6f834b6700ce90f2235604e7f269748c92276.tar.gz
scala-f9d6f834b6700ce90f2235604e7f269748c92276.tar.bz2
scala-f9d6f834b6700ce90f2235604e7f269748c92276.zip
Compiler implementation of SIP 00002 and fixes ...
Compiler implementation of SIP 00002 and fixes for tests and other tools like scaladoc
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Analyzer.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Analyzer.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala b/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
index 1b32f752b9..bcb30edbf8 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala
@@ -24,6 +24,8 @@ trait Analyzer extends AnyRef
object namerFactory extends SubComponent {
val global: Analyzer.this.global.type = Analyzer.this.global
val phaseName = "namer"
+ val runsAfter = List[String]("parser")
+ val runsRightAfter = None
def newPhase(_prev: Phase): StdPhase = new StdPhase(_prev) {
override val checkable = false
def apply(unit: CompilationUnit) {
@@ -35,6 +37,8 @@ trait Analyzer extends AnyRef
object typerFactory extends SubComponent {
val global: Analyzer.this.global.type = Analyzer.this.global
val phaseName = "typer"
+ val runsAfter = List[String]()
+ val runsRightAfter = Some("namer")
def newPhase(_prev: Phase): StdPhase = new StdPhase(_prev) {
if (!inIDE) resetTyper()
def apply(unit: CompilationUnit) {