Index: runtime/lib/byte_array.dart |
diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart |
index e073271613c4bcc28061de85a3c93d1fbed54c1e..fe1cb44499dfe0626c7334b4db8a2a58fc7f028f 100644 |
--- a/runtime/lib/byte_array.dart |
+++ b/runtime/lib/byte_array.dart |
@@ -206,7 +206,7 @@ abstract class _ByteArrayBase { |
"Cannot remove from a non-extendable array"); |
} |
- last() { |
+ get last { |
return this[length - 1]; |
} |
@@ -1684,7 +1684,7 @@ class _ByteArrayViewBase { |
"Cannot remove from a non-extendable array"); |
} |
- last() { |
+ get last { |
return this[length - 1]; |
} |