Index: runtime/lib/byte_array.dart |
diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart |
index 2323fdff747338746a5a18fead09ad6f88b9deaf..c2ce05d839c6722cd17810ac0738cd224f328ab2 100644 |
--- a/runtime/lib/byte_array.dart |
+++ b/runtime/lib/byte_array.dart |
@@ -2010,6 +2010,11 @@ class _ByteArrayViewBase extends Collection<int> { |
"Cannot remove from a non-extendable array"); |
} |
+ void insert(int index, int element) { |
+ throw new UnsupportedError( |
+ "Cannot add to a non-extendable array"); |
+ } |
+ |
int removeAt(int index) { |
throw new UnsupportedError( |
"Cannot remove from a non-extendable array"); |