| Index: test/dart_codegen/expect/collection/splay_tree.dart
|
| diff --git a/test/dart_codegen/expect/collection/splay_tree.dart b/test/dart_codegen/expect/collection/splay_tree.dart
|
| index 53ace6ec388bc4c2c1ee275e62e6ec28201a4a2a..1877af73d2926b37473d226d0004be8db5a1e9ff 100644
|
| --- a/test/dart_codegen/expect/collection/splay_tree.dart
|
| +++ b/test/dart_codegen/expect/collection/splay_tree.dart
|
| @@ -72,9 +72,9 @@ _SplayTreeNode left = current.left;
|
| left.right = current;
|
| current = left;
|
| }
|
| - return DDC$RT.cast(current, DDC$RT.type((_SplayTreeNode<dynamic> _) {
|
| + return DEVC$RT.cast(current, DEVC$RT.type((_SplayTreeNode<dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeNode<K> _) {
|
| +), DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| ), "CastDynamic", """line 151, column 12 of dart:collection/splay_tree.dart: """, current is _SplayTreeNode<K>, false);
|
| }
|
| @@ -86,9 +86,9 @@ _SplayTreeNode right = current.right;
|
| right.left = current;
|
| current = right;
|
| }
|
| - return DDC$RT.cast(current, DDC$RT.type((_SplayTreeNode<dynamic> _) {
|
| + return DEVC$RT.cast(current, DEVC$RT.type((_SplayTreeNode<dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeNode<K> _) {
|
| +), DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| ), "CastDynamic", """line 167, column 12 of dart:collection/splay_tree.dart: """, current is _SplayTreeNode<K>, false);
|
| }
|
| @@ -147,13 +147,13 @@ _root = null;
|
| }
|
| class SplayTreeMap<K, V> extends _SplayTree<K> implements Map<K, V> {Comparator<K> _comparator;
|
| _Predicate _validKey;
|
| - SplayTreeMap([int compare(K key1, K key2), bool isValidKey(potentialKey)]) : _comparator = ((__x36) => DDC$RT.cast(__x36, dynamic, DDC$RT.type((__t33<K> _) {
|
| + SplayTreeMap([int compare(K key1, K key2), bool isValidKey(potentialKey)]) : _comparator = ((__x36) => DEVC$RT.cast(__x36, dynamic, DEVC$RT.type((__t33<K> _) {
|
| }
|
| -), "CastGeneral", """line 268, column 23 of dart:collection/splay_tree.dart: """, __x36 is __t33<K>, false))((compare == null) ? Comparable.compare : compare), _validKey = ((__x39) => DDC$RT.cast(__x39, dynamic, __t37, "CastGeneral", """line 269, column 21 of dart:collection/splay_tree.dart: """, __x39 is __t37, false))((isValidKey != null) ? isValidKey : ((v) => v is K));
|
| +), "CastGeneral", """line 268, column 23 of dart:collection/splay_tree.dart: """, __x36 is __t33<K>, false))((compare == null) ? Comparable.compare : compare), _validKey = ((__x39) => DEVC$RT.cast(__x39, dynamic, __t37, "CastGeneral", """line 269, column 21 of dart:collection/splay_tree.dart: """, __x39 is __t37, false))((isValidKey != null) ? isValidKey : ((v) => v is K));
|
| factory SplayTreeMap.from(Map other, [int compare(K key1, K key2), bool isValidKey(potentialKey)]) {
|
| SplayTreeMap<K, V> result = new SplayTreeMap<K, V>();
|
| other.forEach((k, v) {
|
| -result[k] = DDC$RT.cast(v, dynamic, V, "CastGeneral", """line 278, column 40 of dart:collection/splay_tree.dart: """, v is V, false);
|
| +result[k] = DEVC$RT.cast(v, dynamic, V, "CastGeneral", """line 278, column 40 of dart:collection/splay_tree.dart: """, v is V, false);
|
| }
|
| );
|
| return result;
|
| @@ -176,42 +176,42 @@ SplayTreeMap<K, V> map = new SplayTreeMap<K, V>(compare, isValidKey);
|
| if (key == null) throw new ArgumentError(key);
|
| if (!_validKey(key)) return null;
|
| if (_root != null) {
|
| -int comp = _splay(DDC$RT.cast(key, Object, K, "CastGeneral", """line 331, column 25 of dart:collection/splay_tree.dart: """, key is K, false));
|
| +int comp = _splay(DEVC$RT.cast(key, Object, K, "CastGeneral", """line 331, column 25 of dart:collection/splay_tree.dart: """, key is K, false));
|
| if (comp == 0) {
|
| -_SplayTreeMapNode mapRoot = DDC$RT.cast(_root, DDC$RT.type((_SplayTreeNode<K> _) {
|
| +_SplayTreeMapNode mapRoot = DEVC$RT.cast(_root, DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| +), DEVC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| }
|
| ), "CastGeneral", """line 333, column 37 of dart:collection/splay_tree.dart: """, _root is _SplayTreeMapNode<dynamic, dynamic>, true);
|
| - return DDC$RT.cast(mapRoot.value, dynamic, V, "CastGeneral", """line 334, column 16 of dart:collection/splay_tree.dart: """, mapRoot.value is V, false);
|
| + return DEVC$RT.cast(mapRoot.value, dynamic, V, "CastGeneral", """line 334, column 16 of dart:collection/splay_tree.dart: """, mapRoot.value is V, false);
|
| }
|
| }
|
| return null;
|
| }
|
| V remove(Object key) {
|
| if (!_validKey(key)) return null;
|
| - _SplayTreeMapNode mapRoot = ((__x40) => DDC$RT.cast(__x40, DDC$RT.type((_SplayTreeNode<dynamic> _) {
|
| + _SplayTreeMapNode mapRoot = ((__x40) => DEVC$RT.cast(__x40, DEVC$RT.type((_SplayTreeNode<dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| +), DEVC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| }
|
| -), "CastGeneral", """line 342, column 33 of dart:collection/splay_tree.dart: """, __x40 is _SplayTreeMapNode<dynamic, dynamic>, true))(_remove(DDC$RT.cast(key, Object, K, "CastGeneral", """line 342, column 41 of dart:collection/splay_tree.dart: """, key is K, false)));
|
| - if (mapRoot != null) return DDC$RT.cast(mapRoot.value, dynamic, V, "CastGeneral", """line 343, column 33 of dart:collection/splay_tree.dart: """, mapRoot.value is V, false);
|
| +), "CastGeneral", """line 342, column 33 of dart:collection/splay_tree.dart: """, __x40 is _SplayTreeMapNode<dynamic, dynamic>, true))(_remove(DEVC$RT.cast(key, Object, K, "CastGeneral", """line 342, column 41 of dart:collection/splay_tree.dart: """, key is K, false)));
|
| + if (mapRoot != null) return DEVC$RT.cast(mapRoot.value, dynamic, V, "CastGeneral", """line 343, column 33 of dart:collection/splay_tree.dart: """, mapRoot.value is V, false);
|
| return null;
|
| }
|
| void operator []=(K key, V value) {
|
| if (key == null) throw new ArgumentError(key);
|
| int comp = _splay(key);
|
| if (comp == 0) {
|
| -_SplayTreeMapNode mapRoot = DDC$RT.cast(_root, DDC$RT.type((_SplayTreeNode<K> _) {
|
| +_SplayTreeMapNode mapRoot = DEVC$RT.cast(_root, DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| +), DEVC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| }
|
| ), "CastGeneral", """line 353, column 35 of dart:collection/splay_tree.dart: """, _root is _SplayTreeMapNode<dynamic, dynamic>, true);
|
| mapRoot.value = value;
|
| return;}
|
| - _addNewRoot(((__x41) => DDC$RT.cast(__x41, DDC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| + _addNewRoot(((__x41) => DEVC$RT.cast(__x41, DEVC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeNode<K> _) {
|
| +), DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| ), "CastExact", """line 357, column 17 of dart:collection/splay_tree.dart: """, __x41 is _SplayTreeNode<K>, false))(new _SplayTreeMapNode(key, value)), comp);
|
| }
|
| @@ -219,12 +219,12 @@ _SplayTreeMapNode mapRoot = DDC$RT.cast(_root, DDC$RT.type((_SplayTreeNode<K> _)
|
| if (key == null) throw new ArgumentError(key);
|
| int comp = _splay(key);
|
| if (comp == 0) {
|
| -_SplayTreeMapNode mapRoot = DDC$RT.cast(_root, DDC$RT.type((_SplayTreeNode<K> _) {
|
| +_SplayTreeMapNode mapRoot = DEVC$RT.cast(_root, DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| +), DEVC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| }
|
| ), "CastGeneral", """line 365, column 35 of dart:collection/splay_tree.dart: """, _root is _SplayTreeMapNode<dynamic, dynamic>, true);
|
| - return DDC$RT.cast(mapRoot.value, dynamic, V, "CastGeneral", """line 366, column 14 of dart:collection/splay_tree.dart: """, mapRoot.value is V, false);
|
| + return DEVC$RT.cast(mapRoot.value, dynamic, V, "CastGeneral", """line 366, column 14 of dart:collection/splay_tree.dart: """, mapRoot.value is V, false);
|
| }
|
| int modificationCount = _modificationCount;
|
| int splayCount = _splayCount;
|
| @@ -235,9 +235,9 @@ throw new ConcurrentModificationError(this);
|
| if (splayCount != _splayCount) {
|
| comp = _splay(key);
|
| assert (comp != 0);}
|
| - _addNewRoot(((__x42) => DDC$RT.cast(__x42, DDC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| + _addNewRoot(((__x42) => DEVC$RT.cast(__x42, DEVC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeNode<K> _) {
|
| +), DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| ), "CastExact", """line 379, column 17 of dart:collection/splay_tree.dart: """, __x42 is _SplayTreeNode<K>, false))(new _SplayTreeMapNode(key, value)), comp);
|
| return value;
|
| @@ -255,9 +255,9 @@ return (_root == null);
|
| void forEach(void f(K key, V value)) {
|
| Iterator<_SplayTreeNode<K>> nodes = new _SplayTreeNodeIterator<K>(this);
|
| while (nodes.moveNext()) {
|
| -_SplayTreeMapNode<K, V> node = DDC$RT.cast(nodes.current, DDC$RT.type((_SplayTreeNode<K> _) {
|
| +_SplayTreeMapNode<K, V> node = DEVC$RT.cast(nodes.current, DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeMapNode<K, V> _) {
|
| +), DEVC$RT.type((_SplayTreeMapNode<K, V> _) {
|
| }
|
| ), "CastGeneral", """line 397, column 38 of dart:collection/splay_tree.dart: """, nodes.current is _SplayTreeMapNode<K, V>, false);
|
| f(node.key, node.value);
|
| @@ -270,7 +270,7 @@ return _count;
|
| _clear();
|
| }
|
| bool containsKey(Object key) {
|
| -return _validKey(key) && _splay(DDC$RT.cast(key, Object, K, "CastGeneral", """line 411, column 37 of dart:collection/splay_tree.dart: """, key is K, false)) == 0;
|
| +return _validKey(key) && _splay(DEVC$RT.cast(key, Object, K, "CastGeneral", """line 411, column 37 of dart:collection/splay_tree.dart: """, key is K, false)) == 0;
|
| }
|
| bool containsValue(Object value) {
|
| bool found = false;
|
| @@ -281,22 +281,22 @@ if (node.value == value) return true;
|
| if (initialSplayCount != _splayCount) {
|
| throw new ConcurrentModificationError(this);
|
| }
|
| - if (node.right != null && visit(DDC$RT.cast(node.right, DDC$RT.type((_SplayTreeNode<dynamic> _) {
|
| + if (node.right != null && visit(DEVC$RT.cast(node.right, DEVC$RT.type((_SplayTreeNode<dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| +), DEVC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| }
|
| ), "CastGeneral", """line 423, column 41 of dart:collection/splay_tree.dart: """, node.right is _SplayTreeMapNode<dynamic, dynamic>, true))) return true;
|
| - node = DDC$RT.cast(node.left, DDC$RT.type((_SplayTreeNode<dynamic> _) {
|
| + node = DEVC$RT.cast(node.left, DEVC$RT.type((_SplayTreeNode<dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| +), DEVC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| }
|
| ), "CastGeneral", """line 424, column 16 of dart:collection/splay_tree.dart: """, node.left is _SplayTreeMapNode<dynamic, dynamic>, true);
|
| }
|
| return false;
|
| }
|
| - return visit(DDC$RT.cast(_root, DDC$RT.type((_SplayTreeNode<K> _) {
|
| + return visit(DEVC$RT.cast(_root, DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| +), DEVC$RT.type((_SplayTreeMapNode<dynamic, dynamic> _) {
|
| }
|
| ), "CastGeneral", """line 428, column 18 of dart:collection/splay_tree.dart: """, _root is _SplayTreeMapNode<dynamic, dynamic>, true));
|
| }
|
| @@ -307,11 +307,11 @@ return Maps.mapToString(this);
|
| }
|
| K firstKey() {
|
| if (_root == null) return null;
|
| - return DDC$RT.cast(_first.key, dynamic, K, "CastGeneral", """line 444, column 12 of dart:collection/splay_tree.dart: """, _first.key is K, false);
|
| + return DEVC$RT.cast(_first.key, dynamic, K, "CastGeneral", """line 444, column 12 of dart:collection/splay_tree.dart: """, _first.key is K, false);
|
| }
|
| K lastKey() {
|
| if (_root == null) return null;
|
| - return DDC$RT.cast(_last.key, dynamic, K, "CastGeneral", """line 452, column 12 of dart:collection/splay_tree.dart: """, _last.key is K, false);
|
| + return DEVC$RT.cast(_last.key, dynamic, K, "CastGeneral", """line 452, column 12 of dart:collection/splay_tree.dart: """, _last.key is K, false);
|
| }
|
| K lastKeyBefore(K key) {
|
| if (key == null) throw new ArgumentError(key);
|
| @@ -400,9 +400,9 @@ _rebuildWorkList(_currentNode);
|
| Iterator<K> get iterator => new _SplayTreeKeyIterator<K>(_tree);
|
| Set<K> toSet() {
|
| var setOrMap = _tree;
|
| - SplayTreeSet<K> set = new SplayTreeSet<K>(DDC$RT.cast(setOrMap._comparator, dynamic, DDC$RT.type((__t43<K> _) {
|
| + SplayTreeSet<K> set = new SplayTreeSet<K>(DEVC$RT.cast(setOrMap._comparator, dynamic, DEVC$RT.type((__t43<K> _) {
|
| }
|
| -), "CastGeneral", """line 613, column 29 of dart:collection/splay_tree.dart: """, setOrMap._comparator is __t43<K>, false), DDC$RT.cast(setOrMap._validKey, dynamic, __t37, "CastGeneral", """line 613, column 51 of dart:collection/splay_tree.dart: """, setOrMap._validKey is __t37, false));
|
| +), "CastGeneral", """line 613, column 29 of dart:collection/splay_tree.dart: """, setOrMap._comparator is __t43<K>, false), DEVC$RT.cast(setOrMap._validKey, dynamic, __t37, "CastGeneral", """line 613, column 51 of dart:collection/splay_tree.dart: """, setOrMap._validKey is __t37, false));
|
| set._count = _tree._count;
|
| set._root = set._copyNode(_tree._root);
|
| return set;
|
| @@ -415,22 +415,22 @@ var setOrMap = _tree;
|
| Iterator<V> get iterator => new _SplayTreeValueIterator<K, V>(_map);
|
| }
|
| class _SplayTreeKeyIterator<K> extends _SplayTreeIterator<K> {_SplayTreeKeyIterator(_SplayTree<K> map) : super(map);
|
| - K _getValue(_SplayTreeNode node) => DDC$RT.cast(node.key, dynamic, K, "CastGeneral", """line 631, column 39 of dart:collection/splay_tree.dart: """, node.key is K, false);
|
| + K _getValue(_SplayTreeNode node) => DEVC$RT.cast(node.key, dynamic, K, "CastGeneral", """line 631, column 39 of dart:collection/splay_tree.dart: """, node.key is K, false);
|
| }
|
| class _SplayTreeValueIterator<K, V> extends _SplayTreeIterator<V> {_SplayTreeValueIterator(SplayTreeMap<K, V> map) : super(map);
|
| - V _getValue(_SplayTreeMapNode node) => DDC$RT.cast(node.value, dynamic, V, "CastGeneral", """line 636, column 42 of dart:collection/splay_tree.dart: """, node.value is V, false);
|
| + V _getValue(_SplayTreeMapNode node) => DEVC$RT.cast(node.value, dynamic, V, "CastGeneral", """line 636, column 42 of dart:collection/splay_tree.dart: """, node.value is V, false);
|
| }
|
| class _SplayTreeNodeIterator<K> extends _SplayTreeIterator<_SplayTreeNode<K>> {_SplayTreeNodeIterator(_SplayTree<K> tree) : super(tree);
|
| _SplayTreeNodeIterator.startAt(_SplayTree<K> tree, var startKey) : super.startAt(tree, startKey);
|
| - _SplayTreeNode<K> _getValue(_SplayTreeNode node) => DDC$RT.cast(node, DDC$RT.type((_SplayTreeNode<dynamic> _) {
|
| + _SplayTreeNode<K> _getValue(_SplayTreeNode node) => DEVC$RT.cast(node, DEVC$RT.type((_SplayTreeNode<dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeNode<K> _) {
|
| +), DEVC$RT.type((_SplayTreeNode<K> _) {
|
| }
|
| ), "CastDynamic", """line 644, column 55 of dart:collection/splay_tree.dart: """, node is _SplayTreeNode<K>, false);
|
| }
|
| class SplayTreeSet<E> extends _SplayTree<E> with IterableMixin<E>, SetMixin<E> {Comparator _comparator;
|
| _Predicate _validKey;
|
| - SplayTreeSet([int compare(E key1, E key2), bool isValidKey(potentialKey)]) : _comparator = ((__x49) => DDC$RT.cast(__x49, dynamic, __t46, "CastGeneral", """line 693, column 23 of dart:collection/splay_tree.dart: """, __x49 is __t46, false))((compare == null) ? Comparable.compare : compare), _validKey = ((__x50) => DDC$RT.cast(__x50, dynamic, __t37, "CastGeneral", """line 694, column 21 of dart:collection/splay_tree.dart: """, __x50 is __t37, false))((isValidKey != null) ? isValidKey : ((v) => v is E));
|
| + SplayTreeSet([int compare(E key1, E key2), bool isValidKey(potentialKey)]) : _comparator = ((__x49) => DEVC$RT.cast(__x49, dynamic, __t46, "CastGeneral", """line 693, column 23 of dart:collection/splay_tree.dart: """, __x49 is __t46, false))((compare == null) ? Comparable.compare : compare), _validKey = ((__x50) => DEVC$RT.cast(__x50, dynamic, __t37, "CastGeneral", """line 694, column 21 of dart:collection/splay_tree.dart: """, __x50 is __t37, false))((isValidKey != null) ? isValidKey : ((v) => v is E));
|
| factory SplayTreeSet.from(Iterable elements, [int compare(E key1, E key2), bool isValidKey(potentialKey)]) {
|
| SplayTreeSet<E> result = new SplayTreeSet<E>(compare, isValidKey);
|
| for (final E element in elements) {
|
| @@ -445,11 +445,11 @@ result.add(element);
|
| bool get isNotEmpty => _root != null;
|
| E get first {
|
| if (_count == 0) throw IterableElementError.noElement();
|
| - return DDC$RT.cast(_first.key, dynamic, E, "CastGeneral", """line 725, column 12 of dart:collection/splay_tree.dart: """, _first.key is E, false);
|
| + return DEVC$RT.cast(_first.key, dynamic, E, "CastGeneral", """line 725, column 12 of dart:collection/splay_tree.dart: """, _first.key is E, false);
|
| }
|
| E get last {
|
| if (_count == 0) throw IterableElementError.noElement();
|
| - return DDC$RT.cast(_last.key, dynamic, E, "CastGeneral", """line 730, column 12 of dart:collection/splay_tree.dart: """, _last.key is E, false);
|
| + return DEVC$RT.cast(_last.key, dynamic, E, "CastGeneral", """line 730, column 12 of dart:collection/splay_tree.dart: """, _last.key is E, false);
|
| }
|
| E get single {
|
| if (_count == 0) throw IterableElementError.noElement();
|
| @@ -457,29 +457,29 @@ if (_count == 0) throw IterableElementError.noElement();
|
| return _root.key;
|
| }
|
| bool contains(Object object) {
|
| -return _validKey(object) && _splay(DDC$RT.cast(object, Object, E, "CastGeneral", """line 741, column 40 of dart:collection/splay_tree.dart: """, object is E, false)) == 0;
|
| +return _validKey(object) && _splay(DEVC$RT.cast(object, Object, E, "CastGeneral", """line 741, column 40 of dart:collection/splay_tree.dart: """, object is E, false)) == 0;
|
| }
|
| bool add(E element) {
|
| int compare = _splay(element);
|
| if (compare == 0) return false;
|
| - _addNewRoot(((__x51) => DDC$RT.cast(__x51, DDC$RT.type((_SplayTreeNode<dynamic> _) {
|
| + _addNewRoot(((__x51) => DEVC$RT.cast(__x51, DEVC$RT.type((_SplayTreeNode<dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeNode<E> _) {
|
| +), DEVC$RT.type((_SplayTreeNode<E> _) {
|
| }
|
| ), "CastExact", """line 747, column 17 of dart:collection/splay_tree.dart: """, __x51 is _SplayTreeNode<E>, false))(new _SplayTreeNode(element)), compare);
|
| return true;
|
| }
|
| bool remove(Object object) {
|
| if (!_validKey(object)) return false;
|
| - return _remove(DDC$RT.cast(object, Object, E, "CastGeneral", """line 753, column 20 of dart:collection/splay_tree.dart: """, object is E, false)) != null;
|
| + return _remove(DEVC$RT.cast(object, Object, E, "CastGeneral", """line 753, column 20 of dart:collection/splay_tree.dart: """, object is E, false)) != null;
|
| }
|
| void addAll(Iterable<E> elements) {
|
| for (E element in elements) {
|
| int compare = _splay(element);
|
| if (compare != 0) {
|
| -_addNewRoot(((__x52) => DDC$RT.cast(__x52, DDC$RT.type((_SplayTreeNode<dynamic> _) {
|
| +_addNewRoot(((__x52) => DEVC$RT.cast(__x52, DEVC$RT.type((_SplayTreeNode<dynamic> _) {
|
| }
|
| -), DDC$RT.type((_SplayTreeNode<E> _) {
|
| +), DEVC$RT.type((_SplayTreeNode<E> _) {
|
| }
|
| ), "CastExact", """line 760, column 21 of dart:collection/splay_tree.dart: """, __x52 is _SplayTreeNode<E>, false))(new _SplayTreeNode(element)), compare);
|
| }
|
| @@ -487,7 +487,7 @@ _addNewRoot(((__x52) => DDC$RT.cast(__x52, DDC$RT.type((_SplayTreeNode<dynamic>
|
| }
|
| void removeAll(Iterable<Object> elements) {
|
| for (Object element in elements) {
|
| -if (_validKey(element)) _remove(DDC$RT.cast(element, Object, E, "CastGeneral", """line 767, column 39 of dart:collection/splay_tree.dart: """, element is E, false));
|
| +if (_validKey(element)) _remove(DEVC$RT.cast(element, Object, E, "CastGeneral", """line 767, column 39 of dart:collection/splay_tree.dart: """, element is E, false));
|
| }
|
| }
|
| void retainAll(Iterable<Object> elements) {
|
| @@ -497,7 +497,7 @@ SplayTreeSet<E> retainSet = new SplayTreeSet<E>(_comparator, _validKey);
|
| if (modificationCount != _modificationCount) {
|
| throw new ConcurrentModificationError(this);
|
| }
|
| - if (_validKey(object) && _splay(DDC$RT.cast(object, Object, E, "CastGeneral", """line 781, column 39 of dart:collection/splay_tree.dart: """, object is E, false)) == 0) retainSet.add(_root.key);
|
| + if (_validKey(object) && _splay(DEVC$RT.cast(object, Object, E, "CastGeneral", """line 781, column 39 of dart:collection/splay_tree.dart: """, object is E, false)) == 0) retainSet.add(_root.key);
|
| }
|
| if (retainSet._count != _count) {
|
| _root = retainSet._root;
|
| @@ -507,7 +507,7 @@ _root = retainSet._root;
|
| }
|
| E lookup(Object object) {
|
| if (!_validKey(object)) return null;
|
| - int comp = _splay(DDC$RT.cast(object, Object, E, "CastGeneral", """line 793, column 23 of dart:collection/splay_tree.dart: """, object is E, false));
|
| + int comp = _splay(DEVC$RT.cast(object, Object, E, "CastGeneral", """line 793, column 23 of dart:collection/splay_tree.dart: """, object is E, false));
|
| if (comp != 0) return null;
|
| return _root.key;
|
| }
|
|
|