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 449faefee58cb85f56ffdb398f308df5d4d13115..44daef6b877c27e1c3dd7e16f3e4d16d3bdc6705 100644 |
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart |
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart |
@@ -285,7 +285,7 @@ void renamePlaceholders( |
} |
// Rename constructors. |
- placeholderCollector.constructorPlaceholders.forEach( |
+ sortedForEach(placeholderCollector.constructorPlaceholders, |
(Element constructor, List<ConstructorPlaceholder> placeholders) { |
for (ConstructorPlaceholder ph in placeholders) { |
renames[ph.node] = |