Index: runtime/lib/array.dart |
diff --git a/runtime/lib/array.dart b/runtime/lib/array.dart |
index 5494f6b1f79515dcaa52a8130b6ad54d2ceb061a..dd3e03fc33fb934e6eb2a3cc9b93eb0ddf503675 100644 |
--- a/runtime/lib/array.dart |
+++ b/runtime/lib/array.dart |
@@ -243,11 +243,6 @@ class _List<E> implements List<E> { |
throw IterableElementError.noElement(); |
} |
- void set last(E value) { |
- if (length == 0) throw IterableElementError.noElement(); |
- this[length - 1] = value; |
- } |
- |
E get single { |
if (length == 1) return this[0]; |
if (length == 0) throw IterableElementError.noElement(); |
@@ -292,10 +287,6 @@ class _ImmutableList<E> implements List<E> { |
throw UnmodifiableListError.change(); |
} |
- void set last(E value) { |
- throw UnmodifiableListError.change(); |
- } |
- |
int get length native "List_getLength"; |
void insert(int index, E element) { |