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

Unified Diff: pkg/compiler/lib/src/inferrer/inferrer_visitor.dart

Issue 1077093002: Revert "Model 'await for' as an explicit node in tree and fix its handling." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
diff --git a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
index 889827e9b86c4237bcf0e4357cdf187c31c897c9..a969baab43bb2fa8244f3963aef6900a984cb7e4 100644
--- a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
+++ b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
@@ -269,8 +269,6 @@ class ArgumentsTypes<T> extends IterableMixin<T> {
assert(this.named.values.every((T type) => type != null));
}
- ArgumentsTypes.empty() : positional = const [], named = const {};
-
int get length => positional.length + named.length;
Iterator<T> get iterator => new ArgumentsTypesIterator(this);
@@ -715,9 +713,7 @@ abstract class InferrerVisitor
T visitDynamicSend(Send node);
- T visitAsyncForIn(AsyncForIn node);
-
- T visitSyncForIn(SyncForIn node);
+ T visitForIn(ForIn node);
T visitReturn(Return node);

Powered by Google App Engine
This is Rietveld 408576698