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

Unified Diff: samples/ui_lib/observable/observable.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
Index: samples/ui_lib/observable/observable.dart
diff --git a/samples/ui_lib/observable/observable.dart b/samples/ui_lib/observable/observable.dart
index 82c231f2d34cad71cf173a872122753fe537b5ce..7cf33a09474677cf8a16a9a3decd480a8dcaf0d3 100644
--- a/samples/ui_lib/observable/observable.dart
+++ b/samples/ui_lib/observable/observable.dart
@@ -186,7 +186,7 @@ class ObservableList<T>
return _internal.length;
}
- T last() => _internal.last();
+ T get last => _internal.last;
T removeLast() {
final result = _internal.removeLast();
« no previous file with comments | « samples/third_party/dromaeo/tests/dom-traverse-htmlidiomatic.dart ('k') | samples/ui_lib/touch/Momentum.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698