Index: sdk/lib/_internal/compiler/implementation/native_handler.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/native_handler.dart b/sdk/lib/_internal/compiler/implementation/native_handler.dart |
index 894a6050dc1bdac3bb0ada9620a1f5b8053fddd2..adce2960b685e6c0583173d49fb617def9b4c59a 100644 |
--- a/sdk/lib/_internal/compiler/implementation/native_handler.dart |
+++ b/sdk/lib/_internal/compiler/implementation/native_handler.dart |
@@ -362,7 +362,7 @@ abstract class NativeEnqueuerBase implements NativeEnqueuer { |
cause, |
[String reason]) { |
Iterable matches = unusedClasses.where(predicate); |
- matches.forEach((c) => enqueueClass(c, cause)); |
+ matches.toList().forEach((c) => enqueueClass(c, cause)); |
} |
onFirstNativeClass() { |