| Index: tools/dom/templates/immutable_list_mixin.darttemplate
|
| diff --git a/tools/dom/templates/immutable_list_mixin.darttemplate b/tools/dom/templates/immutable_list_mixin.darttemplate
|
| index 0c0658b7ed6e58b32d31a74f27f414c280955637..59fa89039550dfd7271889ec40c1ac73ee333df0 100644
|
| --- a/tools/dom/templates/immutable_list_mixin.darttemplate
|
| +++ b/tools/dom/templates/immutable_list_mixin.darttemplate
|
| @@ -144,6 +144,10 @@ $endif
|
| $E max([int compare($E a, $E b)]) =>
|
| IterableMixinWorkaround.max(this, compare);
|
|
|
| + void insertAt(int index, $E element) {
|
| + throw new UnsupportedError("Cannot add to immutable List.");
|
| + }
|
| +
|
| $E removeAt(int pos) {
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|