Index: lib/html/templates/immutable_list_mixin.darttemplate |
diff --git a/lib/html/templates/immutable_list_mixin.darttemplate b/lib/html/templates/immutable_list_mixin.darttemplate |
index ba0921836a17101f916c13a929a55affc9b3800e..74d5a4e6a604f3a959b9607a946912eee40c49b6 100644 |
--- a/lib/html/templates/immutable_list_mixin.darttemplate |
+++ b/lib/html/templates/immutable_list_mixin.darttemplate |
@@ -57,7 +57,7 @@ $endif |
return _Lists.lastIndexOf(this, element, start); |
} |
- $E last() => this[length - 1]; |
+ $E get last => this[length - 1]; |
$E removeLast() { |
throw new UnsupportedError("Cannot removeLast on immutable List."); |