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

Side by Side Diff: lib/runtime/dart/collection.js

Issue 1089693002: remove another old analyzer workaround (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var collection; 1 var collection;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 let _source = Symbol('_source'); 4 let _source = Symbol('_source');
5 let UnmodifiableListView$ = dart.generic(function(E) { 5 let UnmodifiableListView$ = dart.generic(function(E) {
6 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) { 6 class UnmodifiableListView extends _internal.UnmodifiableListBase$(E) {
7 UnmodifiableListView(source) { 7 UnmodifiableListView(source) {
8 this[_source] = source; 8 this[_source] = source;
9 super.UnmodifiableListBase(); 9 super.UnmodifiableListBase();
10 } 10 }
(...skipping 2810 matching lines...) Expand 10 before | Expand all | Expand 10 after
2821 let _comparator = Symbol('_comparator'); 2821 let _comparator = Symbol('_comparator');
2822 let _validKey = Symbol('_validKey'); 2822 let _validKey = Symbol('_validKey');
2823 let _internal = Symbol('_internal'); 2823 let _internal = Symbol('_internal');
2824 let SplayTreeMap$ = dart.generic(function(K, V) { 2824 let SplayTreeMap$ = dart.generic(function(K, V) {
2825 class SplayTreeMap extends _SplayTree$(K) { 2825 class SplayTreeMap extends _SplayTree$(K) {
2826 SplayTreeMap(compare, isValidKey) { 2826 SplayTreeMap(compare, isValidKey) {
2827 if (compare === void 0) 2827 if (compare === void 0)
2828 compare = null; 2828 compare = null;
2829 if (isValidKey === void 0) 2829 if (isValidKey === void 0)
2830 isValidKey = null; 2830 isValidKey = null;
2831 this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator); 2831 this[_comparator] = dart.as(compare == null ? core.Comparable.compare : compare, core.Comparator$(K));
2832 this[_validKey] = dart.as(isValidKey != null ? isValidKey : v => dart.is (v, K), _Predicate); 2832 this[_validKey] = dart.as(isValidKey != null ? isValidKey : v => dart.is (v, K), _Predicate);
2833 super._SplayTree(); 2833 super._SplayTree();
2834 } 2834 }
2835 from(other, compare, isValidKey) { 2835 from(other, compare, isValidKey) {
2836 if (compare === void 0) 2836 if (compare === void 0)
2837 compare = null; 2837 compare = null;
2838 if (isValidKey === void 0) 2838 if (isValidKey === void 0)
2839 isValidKey = null; 2839 isValidKey = null;
2840 let result = new (SplayTreeMap$(K, V))(); 2840 let result = new (SplayTreeMap$(K, V))();
2841 other.forEach((k, v) => { 2841 other.forEach((k, v) => {
(...skipping 2117 matching lines...) Expand 10 before | Expand all | Expand 10 after
4959 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$; 4959 exports.LinkedHashMapKeyIterable$ = LinkedHashMapKeyIterable$;
4960 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable; 4960 exports.LinkedHashMapKeyIterable = LinkedHashMapKeyIterable;
4961 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$; 4961 exports.LinkedHashMapKeyIterator$ = LinkedHashMapKeyIterator$;
4962 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator; 4962 exports.LinkedHashMapKeyIterator = LinkedHashMapKeyIterator;
4963 exports.HashSetIterator$ = HashSetIterator$; 4963 exports.HashSetIterator$ = HashSetIterator$;
4964 exports.HashSetIterator = HashSetIterator; 4964 exports.HashSetIterator = HashSetIterator;
4965 exports.LinkedHashSetCell = LinkedHashSetCell; 4965 exports.LinkedHashSetCell = LinkedHashSetCell;
4966 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$; 4966 exports.LinkedHashSetIterator$ = LinkedHashSetIterator$;
4967 exports.LinkedHashSetIterator = LinkedHashSetIterator; 4967 exports.LinkedHashSetIterator = LinkedHashSetIterator;
4968 })(collection || (collection = {})); 4968 })(collection || (collection = {}));
OLDNEW
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698