diff options
author | paltherr <paltherr@epfl.ch> | 2003-08-18 15:58:45 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-08-18 15:58:45 +0000 |
commit | 87210b8f1092065be1b7cfaf13a3852fe861abe4 (patch) | |
tree | 0e2ee43a75d151a74cec60e0025876082f2d7bc5 /sources/meta/scalac/checkers/MetaCheckTreeNodes.java | |
parent | c4e1967d6c99021400b8fa906f51f0bcba984fd4 (diff) | |
download | scala-87210b8f1092065be1b7cfaf13a3852fe861abe4.tar.gz scala-87210b8f1092065be1b7cfaf13a3852fe861abe4.tar.bz2 scala-87210b8f1092065be1b7cfaf13a3852fe861abe4.zip |
- rewrote the phase creation process
- replace PhaseRepository by CompilerPhases
Diffstat (limited to 'sources/meta/scalac/checkers/MetaCheckTreeNodes.java')
-rw-r--r-- | sources/meta/scalac/checkers/MetaCheckTreeNodes.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/meta/scalac/checkers/MetaCheckTreeNodes.java b/sources/meta/scalac/checkers/MetaCheckTreeNodes.java index 9fb2f2018d..d18d012d20 100644 --- a/sources/meta/scalac/checkers/MetaCheckTreeNodes.java +++ b/sources/meta/scalac/checkers/MetaCheckTreeNodes.java @@ -43,7 +43,7 @@ public class MetaCheckTreeNodes extends AbstractTreeCaseExpander { private void printCheckNode(TreeNode node) { if (node.start.constant != null) { writer.println("assert global.currentPhase.id >= " + - "global.PHASE."+node.start.constant + ".id :").indent(); + "phases."+node.start.constant + ".id() :").indent(); writer.println("\"cannot create instance of " + node.name + " before phase " + node.start.name + ", \" +"); writer.println( @@ -51,7 +51,7 @@ public class MetaCheckTreeNodes extends AbstractTreeCaseExpander { } if (node.stop.constant != null) { writer.println("assert global.currentPhase.id <= " + - "global.PHASE."+node.stop.constant + ".id :").indent(); + "phases."+node.stop.constant + ".id() :").indent(); writer.println("\"cannot create instance of " + node.name + " after phase " + node.stop.name + ", \" +"); writer.println( |