Index: sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart |
index 44daef6b877c27e1c3dd7e16f3e4d16d3bdc6705..5c2a13e8739a067cc804a9c03c0c5a9772598809 100644 |
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart |
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart |
@@ -190,7 +190,7 @@ void renamePlaceholders( |
sorted(functionScope.localPlaceholders, |
compareBy((LocalPlaceholder ph) => -ph.nodes.length)); |
List<Set<Node>> currentSortedNodes = |
- currentSortedPlaceholders.map((ph) => ph.nodes); |
+ currentSortedPlaceholders.mappedBy((ph) => ph.nodes).toList(); |
// Make room in all sorted locals list for new stuff. |
while (currentSortedNodes.length > allSortedLocals.length) { |
allSortedLocals.add(new Set<Node>()); |