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

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

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/dart_backend_test.dart
diff --git a/tests/compiler/dart2js/dart_backend_test.dart b/tests/compiler/dart2js/dart_backend_test.dart
index 9959ec402695e21628fce5f1bac6f80d36c9fac9..26641b78fd889cd50e6fb935349282bd4710b588 100644
--- a/tests/compiler/dart2js/dart_backend_test.dart
+++ b/tests/compiler/dart2js/dart_backend_test.dart
@@ -459,7 +459,7 @@ main() {
FunctionExpression mainNode = mainElement.parseNode(compiler);
FunctionExpression fooNode = mainNode.body.statements.nodes.head.function;
LocalPlaceholder fooPlaceholder =
- collector.functionScopes[mainElement].localPlaceholders.iterator().next();
+ collector.functionScopes[mainElement].localPlaceholders.first;
Expect.isTrue(fooPlaceholder.nodes.contains(fooNode.name));
}
« no previous file with comments | « tests/compiler/dart2js/code_motion_test.dart ('k') | tests/compiler/dart2js/gvn_dynamic_field_get_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698