| 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 8baaa09a465dc7e70c67a9ffa485d07d106877c3..fdbcf36de682850e4f86a6bae335b9068fdca6ff 100644
|
| --- a/tools/dom/templates/immutable_list_mixin.darttemplate
|
| +++ b/tools/dom/templates/immutable_list_mixin.darttemplate
|
| @@ -171,8 +171,12 @@ $endif
|
| throw new UnsupportedError("Cannot remove from immutable List.");
|
| }
|
|
|
| - void setRange(int start, int end, Iterable<$E> iterable, [int skipCount]) {
|
| + void setRange(int start, int end, Iterable<$E> iterable, [int skipCount=0]) {
|
| +$if DEFINE_IMMUTABLE
|
| throw new UnsupportedError("Cannot setRange on immutable List.");
|
| +$else
|
| + IterableMixinWorkaround.setRangeList(this, start, end, iterable, skipCount);
|
| +$endif
|
| }
|
|
|
| void removeRange(int start, int end) {
|
|
|