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

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

Issue 1302313002: Deprecate visitStaticSend in ResolvedVisitor. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Cleanup Created 5 years, 4 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') | no next file » | 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 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) {
« no previous file with comments | « pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698