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)); |
} |