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

Unified Diff: lib/core/sequences.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/core/queue.dart ('k') | lib/coreimpl/queue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/sequences.dart
diff --git a/lib/core/sequences.dart b/lib/core/sequences.dart
index 2489881fa499b877c15421c1f5be115b4170e4da..62c6cf4334713039350d13740da4c4a63373a906 100644
--- a/lib/core/sequences.dart
+++ b/lib/core/sequences.dart
@@ -117,7 +117,7 @@ class SequenceList<E> extends SequenceCollection<E> implements List<E> {
return -1;
}
- E last() => sequence[sequence.length - 1];
+ E get last => sequence[sequence.length - 1];
List<E> getRange(int start, int length) {
List<E> result = <E>[];
« no previous file with comments | « lib/core/queue.dart ('k') | lib/coreimpl/queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698