summaryrefslogtreecommitdiff
path: root/sources/scalac/checkers/CheckTreeNodes.java.tmpl
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-08-18 15:58:45 +0000
committerpaltherr <paltherr@epfl.ch>2003-08-18 15:58:45 +0000
commit87210b8f1092065be1b7cfaf13a3852fe861abe4 (patch)
tree0e2ee43a75d151a74cec60e0025876082f2d7bc5 /sources/scalac/checkers/CheckTreeNodes.java.tmpl
parentc4e1967d6c99021400b8fa906f51f0bcba984fd4 (diff)
downloadscala-87210b8f1092065be1b7cfaf13a3852fe861abe4.tar.gz
scala-87210b8f1092065be1b7cfaf13a3852fe861abe4.tar.bz2
scala-87210b8f1092065be1b7cfaf13a3852fe861abe4.zip
- rewrote the phase creation process
- replace PhaseRepository by CompilerPhases
Diffstat (limited to 'sources/scalac/checkers/CheckTreeNodes.java.tmpl')
-rw-r--r--sources/scalac/checkers/CheckTreeNodes.java.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/scalac/checkers/CheckTreeNodes.java.tmpl b/sources/scalac/checkers/CheckTreeNodes.java.tmpl
index e0b66a0eb4..ca07b23cbd 100644
--- a/sources/scalac/checkers/CheckTreeNodes.java.tmpl
+++ b/sources/scalac/checkers/CheckTreeNodes.java.tmpl
@@ -9,7 +9,7 @@
package scalac.checkers;
import scalac.Global;
-import scalac.symtab.Symbol;
+import scalac.CompilerPhases;
{#Imports#}
/** Class to check tree nodes. */
@@ -24,6 +24,7 @@ public class CheckTreeNodes {
// Private Fields
private final Global global = Global.instance;
+ private final CompilerPhases phases = global.PHASE;
//########################################################################
// Public Methods