Index: sdk/lib/_internal/compiler/implementation/library_loader.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/library_loader.dart b/sdk/lib/_internal/compiler/implementation/library_loader.dart |
index 3472b3eb2672d39552ac30775ffc141695e7bdd8..f8befaf443c6cfbd5430a27e6fa50004c8a15de8 100644 |
--- a/sdk/lib/_internal/compiler/implementation/library_loader.dart |
+++ b/sdk/lib/_internal/compiler/implementation/library_loader.dart |
@@ -523,7 +523,7 @@ class LibraryDependencyNode { |
*/ |
void registerInitialExports() { |
pendingExportSet.addAll( |
- library.localScope.values.filter((Element element) { |
+ library.localScope.values.where((Element element) { |
// At this point [localScope] only contains members so we don't need |
// to check for foreign or prefix elements. |
return !element.name.isPrivate(); |
@@ -534,7 +534,7 @@ class LibraryDependencyNode { |
* Registers the compute export scope with the node library. |
*/ |
void registerExports() { |
- library.setExports(exportScope.values); |
+ library.setExports(exportScope.values.toList()); |
} |
/** |