Index: pkg/compiler/lib/src/resolved_visitor.dart |
diff --git a/pkg/compiler/lib/src/resolved_visitor.dart b/pkg/compiler/lib/src/resolved_visitor.dart |
index 479237086a4f3194d7b5505d847e23c175b374b9..a3810ebad778e217d6b0b1f4a129cae96a3705ee 100644 |
--- a/pkg/compiler/lib/src/resolved_visitor.dart |
+++ b/pkg/compiler/lib/src/resolved_visitor.dart |
@@ -68,6 +68,7 @@ abstract class ResolvedKindVisitor<R> { |
R visitClosureSend(Send node); |
@deprecated |
R visitDynamicSend(Send node); |
+ @deprecated |
R visitStaticSend(Send node); |
R handleSuperConstructorInvoke(Send node); |
@@ -275,6 +276,11 @@ abstract class NewResolvedVisitor<R> extends BaseResolvedVisitor<R> |
return internalError(node, "visitAssertSend is deprecated"); |
} |
+ @override |
+ R visitStaticSend(Send node) { |
+ return internalError(node, "visitStaticSend is deprecated"); |
+ } |
+ |
bool checkResolvedKind(Node node, |
ResolvedKind oldKind, |
ResolvedKind newKind) { |