Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: lib/core/list.dart

Issue 11273041: Make first and last getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/compiler/implementation/util/uri_extras.dart ('k') | lib/core/queue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/list.dart
diff --git a/lib/core/list.dart b/lib/core/list.dart
index 37a9dd03652e22c76263543b08bfe4b1a5081ba1..6dd841fdc728c734eb4ca6151cd66cfd90b39f85 100644
--- a/lib/core/list.dart
+++ b/lib/core/list.dart
@@ -126,7 +126,7 @@ interface List<E> extends Collection<E>, Sequence<E>
* Returns the last element of the list, or throws an out of bounds
* exception if the list is empty.
*/
- E last();
+ E get last;
/**
* Returns a new list containing [length] elements from the list,
« no previous file with comments | « lib/compiler/implementation/util/uri_extras.dart ('k') | lib/core/queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698