Index: runtime/lib/array.dart |
diff --git a/runtime/lib/array.dart b/runtime/lib/array.dart |
index 0faf553a33f4ff29c9b2922783dc9931b3816df8..aaa01f5f2b8a66e8d3228f67f3e48a9f9d4c3eb4 100644 |
--- a/runtime/lib/array.dart |
+++ b/runtime/lib/array.dart |
@@ -138,7 +138,7 @@ class _ObjectArray<E> implements List<E> { |
"Cannot remove in a non-extendable array"); |
} |
- E last() { |
+ E get last { |
return this[length - 1]; |
} |
} |
@@ -285,7 +285,7 @@ class _ImmutableArray<E> implements List<E> { |
"Cannot remove in a non-extendable array"); |
} |
- E last() { |
+ E get last { |
return this[length - 1]; |
} |
} |