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

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

Issue 1088183007: Deprecate ResolvedVisitor.visitClosureSend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanup 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 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");
}
« 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