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

Unified Diff: pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart

Issue 1238783003: Handle deferred access as pre-step in SemanticSendVisitor. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 5 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
Index: pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart
diff --git a/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart b/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart
index f3660527b5c0df85480a2d9ae2ff35df64e889fd..c1dfa54dde9132f4e705441e8b10f1e857e8cdc7 100644
--- a/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart
+++ b/pkg/compiler/lib/src/resolution/semantic_visitor_mixins.dart
@@ -2478,6 +2478,14 @@ abstract class BaseBulkMixin<R, A>
A arg) {
return bulkHandleNode(node, 'Lazy or `#` unhandled.', arg);
}
+
+ @override
+ void previsitDeferredAccess(
+ Send node,
+ PrefixElement prefix,
+ A arg) {
+ bulkHandleNode(node, 'Deferred access `#` unhandled.', arg);
+ }
}
/// Mixin that implements all visitor methods for `super` calls in
@@ -3510,6 +3518,13 @@ class TraversalSendMixin<R, A> implements SemanticSendVisitor<R, A> {
}
@override
+ void previsitDeferredAccess(
+ Send node,
+ PrefixElement prefix,
+ A arg) {
+ }
+
+ @override
R errorInvalidAssert(
Send node,
NodeList arguments,
« no previous file with comments | « pkg/compiler/lib/src/resolution/semantic_visitor.dart ('k') | pkg/compiler/lib/src/resolution/send_structure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698