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 f6e1e866450f6146fa94e71fc9d3829193f9dc2b..9cd81bad479a3dec8d88fb02d6f7634ad9c7f87e 100644 |
--- a/pkg/compiler/lib/src/resolved_visitor.dart |
+++ b/pkg/compiler/lib/src/resolved_visitor.dart |
@@ -34,6 +34,7 @@ abstract class ResolvedKindVisitor<R> { |
@deprecated |
R visitClosureSend(Send node); |
+ @deprecated |
R visitDynamicSend(Send node); |
R visitStaticSend(Send node); |
@@ -198,13 +199,16 @@ abstract class NewResolvedVisitor<R> extends BaseResolvedVisitor<R> |
} |
} |
+ @override |
+ R visitDynamicSend(Send node) { |
+ return internalError(node, "visitDynamicSend is deprecated"); |
+ } |
@override |
R visitSuperSend(Send node) { |
- internalError(node, "visitSuperSend is deprecated"); |
+ return internalError(node, "visitSuperSend is deprecated"); |
} |
- |
@override |
R visitOperatorSend(Send node) { |
return internalError(node, "visitOperaterSend is deprecated"); |