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

Side by Side Diff: test/codegen/expect/collection/collection.js

Issue 955513007: merge class extensions from patch files (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 | « test/codegen/expect/async/async.js ('k') | test/codegen/expect/core/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(collection) { 2 (function(collection) {
3 'use strict'; 3 'use strict';
4 let _HashMap$ = dart.generic(function(K, V) { 4 let _HashMap$ = dart.generic(function(K, V) {
5 class _HashMap extends dart.Object { 5 class _HashMap extends dart.Object {
6 _HashMap() { 6 _HashMap() {
7 this._length = 0; 7 this._length = 0;
8 this._strings = null; 8 this._strings = null;
9 this._nums = null; 9 this._nums = null;
10 this._rest = null; 10 this._rest = null;
(...skipping 2254 matching lines...) Expand 10 before | Expand all | Expand 10 after
2265 let value = opt$.value === void 0 ? null : opt$.value; 2265 let value = opt$.value === void 0 ? null : opt$.value;
2266 let map = new LinkedHashMap(); 2266 let map = new LinkedHashMap();
2267 Maps._fillMapWithMappedIterable(map, iterable, key, value); 2267 Maps._fillMapWithMappedIterable(map, iterable, key, value);
2268 return map; 2268 return map;
2269 } 2269 }
2270 LinkedHashMap$fromIterables(keys, values) { 2270 LinkedHashMap$fromIterables(keys, values) {
2271 let map = new LinkedHashMap(); 2271 let map = new LinkedHashMap();
2272 Maps._fillMapWithIterables(map, keys, values); 2272 Maps._fillMapWithIterables(map, keys, values);
2273 return map; 2273 return map;
2274 } 2274 }
2275 LinkedHashMap$_literal(keyValuePairs) {
2276 return dart.as(dart.dinvokef(/* Unimplemented unknown name */fillLiteral Map, keyValuePairs, new _LinkedHashMap()), LinkedHashMap$(K, V));
2277 }
2278 LinkedHashMap$_empty() {
2279 return new _LinkedHashMap();
2280 }
2275 } 2281 }
2276 dart.defineNamedConstructor(LinkedHashMap, 'identity'); 2282 dart.defineNamedConstructor(LinkedHashMap, 'identity');
2277 dart.defineNamedConstructor(LinkedHashMap, 'from'); 2283 dart.defineNamedConstructor(LinkedHashMap, 'from');
2278 dart.defineNamedConstructor(LinkedHashMap, 'fromIterable'); 2284 dart.defineNamedConstructor(LinkedHashMap, 'fromIterable');
2279 dart.defineNamedConstructor(LinkedHashMap, 'fromIterables'); 2285 dart.defineNamedConstructor(LinkedHashMap, 'fromIterables');
2286 dart.defineNamedConstructor(LinkedHashMap, '_literal');
2287 dart.defineNamedConstructor(LinkedHashMap, '_empty');
2280 return LinkedHashMap; 2288 return LinkedHashMap;
2281 }); 2289 });
2282 let LinkedHashMap = LinkedHashMap$(dynamic, dynamic); 2290 let LinkedHashMap = LinkedHashMap$(dynamic, dynamic);
2283 let LinkedHashSet$ = dart.generic(function(E) { 2291 let LinkedHashSet$ = dart.generic(function(E) {
2284 class LinkedHashSet extends dart.Object { 2292 class LinkedHashSet extends dart.Object {
2285 LinkedHashSet(opt$) { 2293 LinkedHashSet(opt$) {
2286 let equals = opt$.equals === void 0 ? null : opt$.equals; 2294 let equals = opt$.equals === void 0 ? null : opt$.equals;
2287 let hashCode = opt$.hashCode === void 0 ? null : opt$.hashCode; 2295 let hashCode = opt$.hashCode === void 0 ? null : opt$.hashCode;
2288 let isValidKey = opt$.isValidKey === void 0 ? null : opt$.isValidKey; 2296 let isValidKey = opt$.isValidKey === void 0 ? null : opt$.isValidKey;
2289 if (isValidKey === null) { 2297 if (isValidKey === null) {
(...skipping 2489 matching lines...) Expand 10 before | Expand all | Expand 10 after
4779 collection.ListQueue$ = ListQueue$; 4787 collection.ListQueue$ = ListQueue$;
4780 collection.SetMixin = SetMixin; 4788 collection.SetMixin = SetMixin;
4781 collection.SetMixin$ = SetMixin$; 4789 collection.SetMixin$ = SetMixin$;
4782 collection.SetBase = SetBase; 4790 collection.SetBase = SetBase;
4783 collection.SetBase$ = SetBase$; 4791 collection.SetBase$ = SetBase$;
4784 collection.SplayTreeMap = SplayTreeMap; 4792 collection.SplayTreeMap = SplayTreeMap;
4785 collection.SplayTreeMap$ = SplayTreeMap$; 4793 collection.SplayTreeMap$ = SplayTreeMap$;
4786 collection.SplayTreeSet = SplayTreeSet; 4794 collection.SplayTreeSet = SplayTreeSet;
4787 collection.SplayTreeSet$ = SplayTreeSet$; 4795 collection.SplayTreeSet$ = SplayTreeSet$;
4788 })(collection || (collection = {})); 4796 })(collection || (collection = {}));
OLDNEW
« no previous file with comments | « test/codegen/expect/async/async.js ('k') | test/codegen/expect/core/core.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698