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

Unified Diff: lib/compiler/implementation/resolver.dart

Issue 9958009: Implement cascaded calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 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
Index: lib/compiler/implementation/resolver.dart
diff --git a/lib/compiler/implementation/resolver.dart b/lib/compiler/implementation/resolver.dart
index abfff624989061c4b813861e26efd390a47c9553..d0354a920d1b66d0507e54f30f7cb2f081fc6d4e 100644
--- a/lib/compiler/implementation/resolver.dart
+++ b/lib/compiler/implementation/resolver.dart
@@ -674,6 +674,14 @@ class ResolverVisitor extends CommonResolverVisitor<Element> {
});
}
+ visitCascade(Cascade node) {
+ visit(node.expression);
+ }
+
+ visitCascadeReceiver(CascadeReceiver node) {
+ visit(node.expression);
+ }
+
Element visitClassNode(ClassNode node) {
cancel(node, "shouldn't be called");
}
« no previous file with comments | « frog/tests/leg_only/src/CascadeTest.dart ('k') | lib/compiler/implementation/scanner/array_based_scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698