Index: dart/lib/compiler/implementation/tree/nodes.dart |
diff --git a/dart/lib/compiler/implementation/tree/nodes.dart b/dart/lib/compiler/implementation/tree/nodes.dart |
index 9897e2a53ecd4ec7e3ed28ff7c87e79836998c5f..5fcd0eadcd7cd09d3b79318adc5105c1a4113e26 100644 |
--- a/dart/lib/compiler/implementation/tree/nodes.dart |
+++ b/dart/lib/compiler/implementation/tree/nodes.dart |
@@ -54,7 +54,7 @@ abstract class Visitor<R> { |
return visitExpression(node); |
} |
R visitPart(Part node) => visitLibraryTag(node); |
- R visitPartOf(PartOf node) => visitLibraryTag(node); |
+ R visitPartOf(PartOf node) => visitNode(node); |
R visitPostfix(Postfix node) => visitNodeList(node); |
R visitPrefix(Prefix node) => visitNodeList(node); |
R visitReturn(Return node) => visitStatement(node); |
@@ -1759,7 +1759,7 @@ class Part extends LibraryTag { |
Token getEndToken() => uri.getEndToken().next; |
} |
-class PartOf extends LibraryTag { |
+class PartOf extends Node { |
final Expression name; |
final Token partKeyword; |