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

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

Issue 1554683002: Update to latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
1 dart_library.library('collection/iterable_zip', null, /* Imports */[ 1 dart_library.library('collection/iterable_zip', null, /* Imports */[
2 "dart/_runtime", 2 "dart/_runtime",
3 'dart/collection', 3 'dart/collection',
4 'dart/core' 4 'dart/core'
5 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
6 ], function(exports, dart, collection, core) { 6 ], function(exports, dart, collection, core) {
7 'use strict'; 7 'use strict';
8 let dartx = dart.dartx; 8 let dartx = dart.dartx;
9 const _iterables = Symbol('_iterables'); 9 const _iterables = Symbol('_iterables');
10 class IterableZip extends collection.IterableBase$(core.List) { 10 class IterableZip extends collection.IterableBase$(core.List) {
11 IterableZip(iterables) { 11 IterableZip(iterables) {
12 this[_iterables] = iterables; 12 this[_iterables] = iterables;
13 super.IterableBase(); 13 super.IterableBase();
14 } 14 }
15 get iterator() { 15 get iterator() {
16 let iterators = this[_iterables][dartx.map](dart.fn(x => dart.dload(x, 'it erator')))[dartx.toList]({growable: false}); 16 let iterators = this[_iterables][dartx.map](dart.fn(x => x[dartx.iterator] , core.Iterator, [core.Iterable]))[dartx.toList]({growable: false});
17 return new _IteratorZip(iterators); 17 return new _IteratorZip(iterators);
18 } 18 }
19 } 19 }
20 dart.setSignature(IterableZip, { 20 dart.setSignature(IterableZip, {
21 constructors: () => ({IterableZip: [IterableZip, [core.Iterable$(core.Iterab le)]]}) 21 constructors: () => ({IterableZip: [IterableZip, [core.Iterable$(core.Iterab le)]]})
22 }); 22 });
23 dart.defineExtensionMembers(IterableZip, ['iterator']); 23 dart.defineExtensionMembers(IterableZip, ['iterator']);
24 const _iterators = Symbol('_iterators'); 24 const _iterators = Symbol('_iterators');
25 const _current = Symbol('_current'); 25 const _current = Symbol('_current');
26 class _IteratorZip extends core.Object { 26 class _IteratorZip extends core.Object {
(...skipping 20 matching lines...) Expand all
47 } 47 }
48 } 48 }
49 _IteratorZip[dart.implements] = () => [core.Iterator$(core.List)]; 49 _IteratorZip[dart.implements] = () => [core.Iterator$(core.List)];
50 dart.setSignature(_IteratorZip, { 50 dart.setSignature(_IteratorZip, {
51 constructors: () => ({_IteratorZip: [_IteratorZip, [core.List]]}), 51 constructors: () => ({_IteratorZip: [_IteratorZip, [core.List]]}),
52 methods: () => ({moveNext: [core.bool, []]}) 52 methods: () => ({moveNext: [core.bool, []]})
53 }); 53 });
54 // Exports: 54 // Exports:
55 exports.IterableZip = IterableZip; 55 exports.IterableZip = IterableZip;
56 }); 56 });
OLDNEW
« no previous file with comments | « test/codegen/expect/collection/equality.txt ('k') | test/codegen/expect/collection/iterable_zip.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698