Index: sdk/lib/core/list.dart |
diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart |
index b4948a3c1680aa616a39f6b605ea2363296015cb..8dc1577cf9420c1bc37126ff2346c0973776fbcb 100644 |
--- a/sdk/lib/core/list.dart |
+++ b/sdk/lib/core/list.dart |
@@ -123,6 +123,12 @@ interface List<E> extends Collection<E>, Sequence<E> |
E removeLast(); |
/** |
+ * Returns the first element of the list, or throws an out of bounds |
+ * exception if the list is empty. |
+ */ |
+ E get first; |
+ |
+ /** |
* Returns the last element of the list, or throws an out of bounds |
* exception if the list is empty. |
*/ |