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

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

Issue 1879373004: Implement modular compilation (Closed) Base URL: git@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
(Empty)
1 dart_library.library('collection/src/utils', null, /* Imports */[
2 'dart/_runtime',
3 'dart/core'
4 ], /* Lazy imports */[
5 ], function(exports, dart, core) {
6 'use strict';
7 let dartx = dart.dartx;
8 const Pair$ = dart.generic(function(E, F) {
9 class Pair extends core.Object {
10 Pair(first, last) {
11 this.first = first;
12 this.last = last;
13 }
14 }
15 dart.setSignature(Pair, {
16 constructors: () => ({Pair: [Pair$(E, F), [E, F]]})
17 });
18 return Pair;
19 });
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, []));
25 // Exports:
26 exports.Pair$ = Pair$;
27 exports.Pair = Pair;
28 exports.defaultCompare = defaultCompare;
29 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698