Index: test/generated_sdk/lib/_internal/compiler/js_lib/js_array.dart |
diff --git a/test/generated_sdk/lib/_internal/compiler/js_lib/js_array.dart b/test/generated_sdk/lib/_internal/compiler/js_lib/js_array.dart |
index c9aab5f74eea2f6acccabea2f56a094e5e2916cd..fae79523869fa28d40737ebf16ce83598a065c05 100644 |
--- a/test/generated_sdk/lib/_internal/compiler/js_lib/js_array.dart |
+++ b/test/generated_sdk/lib/_internal/compiler/js_lib/js_array.dart |
@@ -85,7 +85,7 @@ class JSArray<E> implements List<E>, JSIndexable { |
} |
checkGrowable(reason) { |
- if (this is !JSExtendableArray) { |
+ if (JS('bool', r'#.fixed$length', this)) { |
throw new UnsupportedError(reason); |
} |
} |