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

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

Issue 1083063002: Deprecate visitAssertSend and visitTypePrefixSend (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. 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 87f9f85a8db0f37116dff2b78b095953e39dcf0f..6516da618efae106b3c196888a3ae17110a0cd64 100644
--- a/pkg/compiler/lib/src/resolved_visitor.dart
+++ b/pkg/compiler/lib/src/resolved_visitor.dart
@@ -38,9 +38,11 @@ abstract class ResolvedKindVisitor<R> {
/// Visitor callback for the class prefix of a static access, like `Foo` in
/// `Foo.staticField`.
- // TODO(johnniwinther): Remove this when not needed by the dart backend.
+ // TODO(johnniwinther): Remove this when not needed by the inferrer.
+ @deprecated
R visitTypePrefixSend(Send node);
+ @deprecated
R visitAssertSend(Send node);
internalError(Spannable node, String reason);
@@ -181,6 +183,16 @@ abstract class NewResolvedVisitor<R> extends BaseResolvedVisitor<R>
}
}
+ @deprecated
+ R visitTypePrefixSend(Send node) {
+ return internalError(node, "visitTypePrefixSend is deprecated");
+ }
+
+ @deprecated
+ R visitAssertSend(Send node) {
+ return internalError(node, "visitAssertSend 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') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698