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

Unified Diff: sdk/lib/collection/collections.dart

Issue 13774006: Moving ListBase, FixedLengthListMixin and UmodifiableListMixin to collection. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move fixed/unmodifiable base and mixin to collections-dev Created 7 years, 8 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: sdk/lib/collection/collections.dart
diff --git a/sdk/lib/collection/collections.dart b/sdk/lib/collection/collections.dart
index 8729452b7b2cf3b830c0a386a27f23d91529f7f0..616ba6520af14790a2207bcf8f891d766c8fa427 100644
--- a/sdk/lib/collection/collections.dart
+++ b/sdk/lib/collection/collections.dart
@@ -9,6 +9,7 @@ part of dart.collection;
*
* Once Dart receives Mixins it will be replaced with mixin classes.
*/
+@deprecated
class IterableMixinWorkaround {
static bool contains(Iterable iterable, var element) {
for (final e in iterable) {
@@ -342,7 +343,7 @@ class IterableMixinWorkaround {
}
static Iterable reversedList(List list) {
- return new ReversedListIterable(list);
+ return new _ReversedListIterable(list);
floitsch 2013/04/09 11:56:07 Move it back.
}
static void sortList(List list, int compare(a, b)) {

Powered by Google App Engine
This is Rietveld 408576698