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

Unified Diff: tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart

Issue 1238783003: Handle deferred access as pre-step in SemanticSendVisitor. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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: tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart
diff --git a/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart b/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart
index a602e2e7955e155a0055c0afc5a624e550715584..19e3e9cd904e89055d2562103b3095d23f910643 100644
--- a/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart
+++ b/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart
@@ -2940,4 +2940,12 @@ class SemanticSendTestVisitor extends SemanticTestVisitor {
constant: constant.getText()));
super.visitConstantInvoke(node, constant, arguments, callStructure, arg);
}
+
+ @override
+ visitDeferredAccess(
+ Send node,
+ PrefixElement prefix,
+ arg) {
+ visits.add(new Visit(VisitKind.VISIT_DEFERRED_ACCESS, element: prefix));
+ }
}

Powered by Google App Engine
This is Rietveld 408576698