| Index: sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart b/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
|
| index b1cb9eb7124910b4b1212e918ee9e8a854de975f..746df0e8314b54715af2dd13d17c024902cec9ad 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
|
| @@ -81,7 +81,7 @@ class RuntimeTypeInformation {
|
| addAllInterfaceTypeArguments(type, instantiatedArguments);
|
| }
|
| }
|
| - for (ClassElement cls in instantiatedArguments) {
|
| + for (ClassElement cls in instantiatedArguments.toList()) {
|
| for (DartType type in cls.allSupertypes) {
|
| addAllInterfaceTypeArguments(type, instantiatedArguments);
|
| }
|
|
|