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

Unified Diff: test/generated_sdk/lib/core/list.dart

Issue 1112403004: SDK fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Formatting fix Created 5 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: test/generated_sdk/lib/core/list.dart
diff --git a/test/generated_sdk/lib/core/list.dart b/test/generated_sdk/lib/core/list.dart
index 638cc03a2197392deebbea20e3af5ced5911fbe6..828d03f7c55ce2b1847a1389213cd5e78982a015 100644
--- a/test/generated_sdk/lib/core/list.dart
+++ b/test/generated_sdk/lib/core/list.dart
@@ -262,11 +262,6 @@ abstract class List<E> implements Iterable<E>, EfficientLength {
bool every(bool f(E element)) => IterableMixinWorkaround.every(this, f);
- void sort([int compare(E a, E b)]) {
- checkMutable('sort');
- IterableMixinWorkaround.sortList(this, compare);
- }
-
bool contains(Object other) {
for (int i = 0; i < length; i++) {
if (this[i] == other) return true;
@@ -386,7 +381,7 @@ abstract class List<E> implements Iterable<E>, EfficientLength {
nums.join(', '); // '-11, 2, 13'
*/
void sort([int compare(E a, E b)]) {
- // XXX checkMutable('sort');
+ checkMutable('sort');
IterableMixinWorkaround.sortList(this, compare);
}

Powered by Google App Engine
This is Rietveld 408576698