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

Unified Diff: test/generated_sdk/lib/collection/splay_tree.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/collection/splay_tree.dart
diff --git a/test/generated_sdk/lib/collection/splay_tree.dart b/test/generated_sdk/lib/collection/splay_tree.dart
index b9c1994381cff080258b10e0a4ae3805530c95ad..3bc43eac89a1e59def9791c1eeecbe559ebbd97b 100644
--- a/test/generated_sdk/lib/collection/splay_tree.dart
+++ b/test/generated_sdk/lib/collection/splay_tree.dart
@@ -233,10 +233,6 @@ abstract class _SplayTree<K> {
}
}
-class _TypeTest<T> {
- bool test(v) => v is T;
-}
-
/**
* A [Map] of objects that can be ordered relative to each other.
*
@@ -596,7 +592,7 @@ abstract class _SplayTreeIterator<T> implements Iterator<T> {
return true;
}
- T _getValue(_SplayTreeNode node);
+ T _getValue(_SplayTreeMapNode node);
}
class _SplayTreeKeyIterable<K> extends IterableBase<K>
@@ -795,7 +791,7 @@ class SplayTreeSet<E> extends _SplayTree<E> with IterableMixin<E>, SetMixin<E> {
return _root.key;
}
- Set<E> intersection(Set<E> other) {
+ Set<E> intersection(Set<Object> other) {
Set<E> result = new SplayTreeSet<E>(_comparator, _validKey);
for (E element in this) {
if (other.contains(element)) result.add(element);
@@ -803,7 +799,7 @@ class SplayTreeSet<E> extends _SplayTree<E> with IterableMixin<E>, SetMixin<E> {
return result;
}
- Set<E> difference(Set<E> other) {
+ Set<E> difference(Set<Object> other) {
Set<E> result = new SplayTreeSet<E>(_comparator, _validKey);
for (E element in this) {
if (!other.contains(element)) result.add(element);

Powered by Google App Engine
This is Rietveld 408576698