Index: lib/html/templates/html/impl/impl_Element.darttemplate |
diff --git a/lib/html/templates/html/impl/impl_Element.darttemplate b/lib/html/templates/html/impl/impl_Element.darttemplate |
index 3437c9e3f301565809c23887bc71155230b90400..4f516ac2b6f51bba62455edff16c8e0394891775 100644 |
--- a/lib/html/templates/html/impl/impl_Element.darttemplate |
+++ b/lib/html/templates/html/impl/impl_Element.darttemplate |
@@ -136,14 +136,14 @@ class _ChildrenElementList implements List { |
} |
Element removeLast() { |
- final result = this.last(); |
+ final result = this.last; |
if (result != null) { |
_element.$dom_removeChild(result); |
} |
return result; |
} |
- Element last() { |
+ Element get last { |
return _element.$dom_lastElementChild; |
} |
} |
@@ -269,7 +269,7 @@ class _FrozenElementList implements List { |
throw new UnsupportedError(''); |
} |
- Element last() => _nodeList.last(); |
+ Element get last => _nodeList.last; |
} |
class _FrozenElementListIterator implements Iterator<Element> { |