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

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

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: regen sdk and expectations Created 4 years, 10 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 const Pair = Pair$();
21 // Exports: 21 // Exports:
22 exports.Pair$ = Pair$; 22 exports.Pair$ = Pair$;
23 exports.Pair = Pair; 23 exports.Pair = Pair;
24 }); 24 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698