Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: pkg/compiler/lib/src/resolved_visitor.dart

Issue 1112843004: Refactor to make visitDynamicSend deprecated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
« no previous file with comments | « pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698