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

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

Issue 1847163002: Regen against latest analyzer (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 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
OLDNEW
1 dart_library.library('collection/src/utils', null, /* Imports */[ 1 dart_library.library('collection/src/utils', null, /* Imports */[
2 'dart/_runtime', 2 'dart/_runtime',
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 const Pair$ = dart.generic(function(E, F) { 8 const Pair$ = dart.generic(function(E, F) {
9 class Pair extends core.Object { 9 class Pair extends core.Object {
10 Pair(first, last) { 10 Pair(first, last) {
11 this.first = first; 11 this.first = first;
12 this.last = last; 12 this.last = last;
13 } 13 }
14 } 14 }
15 dart.setSignature(Pair, { 15 dart.setSignature(Pair, {
16 constructors: () => ({Pair: [Pair$(E, F), [E, F]]}) 16 constructors: () => ({Pair: [Pair$(E, F), [E, F]]})
17 }); 17 });
18 return Pair; 18 return Pair;
19 }); 19 });
20 let Pair = Pair$(); 20 let Pair = Pair$();
21 function defaultCompare() {
22 return dart.fn((value1, value2) => dart.as(value1, core.Comparable)[dartx.co mpareTo](value2), core.int, [dart.dynamic, dart.dynamic]);
23 }
24 dart.fn(defaultCompare, () => dart.definiteFunctionType(core.Comparator, []));
21 // Exports: 25 // Exports:
22 exports.Pair$ = Pair$; 26 exports.Pair$ = Pair$;
23 exports.Pair = Pair; 27 exports.Pair = Pair;
28 exports.defaultCompare = defaultCompare;
24 }); 29 });
OLDNEW
« no previous file with comments | « test/codegen/expect/collection/src/unmodifiable_wrappers.txt ('k') | test/codegen/expect/collection/src/wrappers.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698