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

Unified Diff: sdk/lib/_internal/compiler/implementation/library_loader.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: 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());
}
/**

Powered by Google App Engine
This is Rietveld 408576698