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 319a9b73be0e66eea4a7171fd06a0a2576c28044..51a8fb4dc1ee4eb3eeac3bff547ed79dace4ab5e 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'); |