Index: runtime/lib/growable_array.dart |
diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart |
index a34bca0bb77eb57e0a347677e57691b7df4aa3d2..2e012c20b720a458611be2dde5a8e0ba51b895eb 100644 |
--- a/runtime/lib/growable_array.dart |
+++ b/runtime/lib/growable_array.dart |
@@ -145,6 +145,10 @@ class _GrowableObjectArray<T> implements List<T> { |
return elem; |
} |
+ T get first { |
+ return this[0]; |
+ } |
+ |
T get last { |
return this[length - 1]; |
} |