diff options
Diffstat (limited to 'sources/meta/scalac/checkers')
-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( |