File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1+ ## 1.14.5
2+
3+ * Fix issue with EmptyUnmodifiableSet's stubs that were introduced in 1.14.4.
4+
15## 1.14.4
26
37* Add implementation stubs of upcoming Dart 2.0 core library methods, namely
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ class EmptyUnmodifiableSet<E> extends IterableBase<E>
2020
2121 const EmptyUnmodifiableSet ();
2222
23- EmptyUnmodifiableSet <T > cast <T >() => const EmptyUnmodifiableSet <T >();
23+ EmptyUnmodifiableSet <T > cast <T >() => new EmptyUnmodifiableSet <T >();
2424 bool contains (Object element) => false ;
2525 bool containsAll (Iterable <Object > other) => other.isEmpty;
2626 Iterable <E > followedBy (Iterable <E > other) => new Set .from (other);
2727 E lookup (Object element) => null ;
28- EmptyUnmodifiableSet <T > retype <T >() => const EmptyUnmodifiableSet <T >();
28+ EmptyUnmodifiableSet <T > retype <T >() => new EmptyUnmodifiableSet <T >();
2929 E singleWhere (bool test (E element), {E orElse ()}) => super .singleWhere (test);
30- Iterable <T > whereType <T >() => const EmptyUnmodifiableSet <T >();
30+ Iterable <T > whereType <T >() => new EmptyUnmodifiableSet <T >();
3131 Set <E > toSet () => new Set ();
3232 Set <E > union (Set <E > other) => new Set .from (other);
3333 Set <E > intersection (Set <Object > other) => new Set ();
Original file line number Diff line number Diff line change 11name : collection
2- version : 1.14.4
2+ version : 1.14.5
33author : Dart Team <misc@dartlang.org>
44description : Collections and utilities functions and classes related to collections.
55homepage : https://www.github.com/dart-lang/collection
You can’t perform that action at this time.
0 commit comments