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 ebc2678b58737d4e9181d0da9fbd7fd51b39d2b4..86beb30fef8981de4a452e228931eb0b135a08d6 100644 |
--- a/pkg/compiler/lib/src/resolved_visitor.dart |
+++ b/pkg/compiler/lib/src/resolved_visitor.dart |
@@ -29,6 +29,8 @@ abstract class ResolvedKindVisitor<R> { |
@deprecated |
R visitOperatorSend(Send node); |
R visitGetterSend(Send node); |
+ |
+ @deprecated |
R visitClosureSend(Send node); |
R visitDynamicSend(Send node); |
R visitStaticSend(Send node); |
@@ -192,6 +194,11 @@ abstract class NewResolvedVisitor<R> extends BaseResolvedVisitor<R> |
} |
@override |
+ R visitClosureSend(Send node) { |
+ return internalError(node, "visitClosureSend is deprecated"); |
+ } |
+ |
+ @override |
R visitTypeLiteralSend(Send node) { |
return internalError(node, "visitTypeLiteralSend is deprecated"); |
} |