| Index: runtime/lib/typeddata.dart
|
| diff --git a/runtime/lib/typeddata.dart b/runtime/lib/typeddata.dart
|
| index ddf79f444898c7644a78360a0e30cf623f179abb..75cd3624843055d63b5d7b0e72816ba01d9b1512 100644
|
| --- a/runtime/lib/typeddata.dart
|
| +++ b/runtime/lib/typeddata.dart
|
| @@ -373,6 +373,16 @@ abstract class _TypedListBase {
|
| "Cannot add to a non-extendable array");
|
| }
|
|
|
| + void insert(int index, value) {
|
| + throw new UnsupportedError(
|
| + "Cannot insert into a non-extendable array");
|
| + }
|
| +
|
| + void insertAll(int index, Iterable values) {
|
| + throw new UnsupportedError(
|
| + "Cannot insert into a non-extendable array");
|
| + }
|
| +
|
| void sort([int compare(var a, var b)]) {
|
| return IterableMixinWorkaround.sortList(this, compare);
|
| }
|
| @@ -395,7 +405,12 @@ abstract class _TypedListBase {
|
| "Cannot remove from a non-extendable array");
|
| }
|
|
|
| - void remove(Object element) {
|
| + bool remove(Object element) {
|
| + throw new UnsupportedError(
|
| + "Cannot remove from a non-extendable array");
|
| + }
|
| +
|
| + bool removeAt(int index) {
|
| throw new UnsupportedError(
|
| "Cannot remove from a non-extendable array");
|
| }
|
|
|