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

Unified Diff: samples/swarm/Views.dart

Issue 11664006: Make Map.keys/values Iterables. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Add TODO that map.keys should return a Set. Created 7 years, 12 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/swarm/Views.dart
diff --git a/samples/swarm/Views.dart b/samples/swarm/Views.dart
index 7147e3b54e37f66c83fd681a095d77e9d99e5afe..296af9e52f5a9d599d71854af654cdcb0da080aa 100644
--- a/samples/swarm/Views.dart
+++ b/samples/swarm/Views.dart
@@ -171,7 +171,7 @@ class GenericListView<D> extends View {
}
Collection<View> get childViews {
- return _itemViews.values;
+ return _itemViews.values.toList();
}
void _onClick(MouseEvent e) {
« no previous file with comments | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | sdk/lib/_internal/compiler/implementation/closure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698