Index: sdk/lib/_internal/compiler/implementation/dart2js.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/dart2js.dart b/sdk/lib/_internal/compiler/implementation/dart2js.dart |
index 59a43318439cfa4496589f29741aa07c6b0d88bb..d66579f6b6d5b0a941fa87e2c60a1d39f9814bf0 100644 |
--- a/sdk/lib/_internal/compiler/implementation/dart2js.dart |
+++ b/sdk/lib/_internal/compiler/implementation/dart2js.dart |
@@ -131,7 +131,7 @@ void compile(List<String> argv) { |
setCategories(String argument) { |
List<String> categories = extractParameter(argument).split(','); |
Set<String> allowedCategories = |
- LIBRARIES.values.mappedBy((x) => x.category).toSet(); |
+ LIBRARIES.values.map((x) => x.category).toSet(); |
allowedCategories.remove('Shared'); |
allowedCategories.remove('Internal'); |
List<String> allowedCategoriesList = |