Index: sdk/lib/internal/list.dart |
diff --git a/sdk/lib/internal/list.dart b/sdk/lib/internal/list.dart |
index 37ee3f8c19c24de52792a726016ebde271051823..ed5c987dd46e49a45901d5bfdccb73c70deaa7e0 100644 |
--- a/sdk/lib/internal/list.dart |
+++ b/sdk/lib/internal/list.dart |
@@ -11,7 +11,7 @@ part of dart._internal; |
*/ |
abstract class FixedLengthListMixin<E> { |
/** This operation is not supported by a fixed length list. */ |
- set length(int newLength) { |
+ void set length(int newLength) { |
throw new UnsupportedError( |
"Cannot change the length of a fixed-length list"); |
} |
@@ -105,7 +105,7 @@ abstract class UnmodifiableListMixin<E> implements List<E> { |
} |
/** This operation is not supported by an unmodifiable list. */ |
- set length(int newLength) { |
+ void set length(int newLength) { |
throw new UnsupportedError( |
"Cannot change the length of an unmodifiable list"); |
} |