Index: sdk/lib/_internal/js_runtime/lib/js_array.dart |
diff --git a/sdk/lib/_internal/js_runtime/lib/js_array.dart b/sdk/lib/_internal/js_runtime/lib/js_array.dart |
index ad369ab9e24e3a85168bcb7633163b0800455d79..5495a6c53c4b29a9d15d5ef77d029a1fa0bae4c8 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/js_array.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/js_array.dart |
@@ -581,7 +581,7 @@ class JSArray<E> extends Interceptor implements List<E>, JSIndexable { |
int get length => JS('JSUInt32', r'#.length', this); |
- set length(int newLength) { |
+ void set length(int newLength) { |
checkGrowable('set length'); |
if (newLength is !int) { |
throw new ArgumentError.value(newLength, 'newLength'); |