Index: tests/compiler/dart2js/embedded_category_api_boundary_test.dart |
diff --git a/tests/compiler/dart2js/embedded_category_api_boundary_test.dart b/tests/compiler/dart2js/embedded_category_api_boundary_test.dart |
index 80151cd9e68a2749146b6a5b422a4add86dcc66e..8fcf1246a93f2bd974b6dbe91a6138ac022d108e 100644 |
--- a/tests/compiler/dart2js/embedded_category_api_boundary_test.dart |
+++ b/tests/compiler/dart2js/embedded_category_api_boundary_test.dart |
@@ -7,7 +7,6 @@ |
/// processed. |
library embedded_category_boundary_test; |
-import 'package:expect/expect.dart'; |
import 'package:async_helper/async_helper.dart'; |
import 'package:compiler/src/compiler.dart'; |
import 'package:compiler/src/elements/elements.dart'; |
@@ -37,8 +36,8 @@ Set<String> whiteList = new Set.from([ |
]); |
bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) { |
- return compiler.enqueuer.resolution.processedEntities |
- .every((MemberElement element) { |
+ return compiler.enqueuer.resolution.processedEntities.every((_element) { |
+ MemberElement element = _element; |
if (whiteList.contains("$element")) return true; |
LibraryInfo info = libraries[element.library.canonicalUri.path]; |
bool isAllowedInEmbedded = |