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

Unified Diff: pkg/collection/lib/wrappers.dart

Issue 141703009: Add toString to delegating collections in package:collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | « no previous file | pkg/collection/test/wrapper_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/collection/lib/wrappers.dart
diff --git a/pkg/collection/lib/wrappers.dart b/pkg/collection/lib/wrappers.dart
index ec78f5c5384b96715fc48b3c998f983da5fde021..1097c3ef17771e03486537e3129735e25543ff5d 100644
--- a/pkg/collection/lib/wrappers.dart
+++ b/pkg/collection/lib/wrappers.dart
@@ -89,6 +89,8 @@ class DelegatingIterable<E> implements Iterable<E> {
Set<E> toSet() => _base.toSet();
Iterable<E> where(bool test(E element)) => _base.where(test);
+
+ String toString() => _base.toString();
}
@@ -331,4 +333,6 @@ class DelegatingMap<K, V> implements Map<K, V> {
V remove(Object key) => _base.remove(key);
Iterable<V> get values => _base.values;
+
+ String toString() => _base.toString();
}
« no previous file with comments | « no previous file | pkg/collection/test/wrapper_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698