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 b9820dcb071bb781ad55e9f00eccae6ce4590260..78a846fa362dcda859237eba415d634108717f6b 100644 |
--- a/tools/dom/templates/immutable_list_mixin.darttemplate |
+++ b/tools/dom/templates/immutable_list_mixin.darttemplate |
@@ -7,7 +7,7 @@ $if DEFINE_LENGTH_AS_NUM_ITEMS |
$endif |
$if DEFINE_LENGTH_SETTER |
- set length(int value) { |
+ void set length(int value) { |
throw new UnsupportedError("Cannot resize immutable List."); |
} |
$endif |