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

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

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master 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
« no previous file with comments | « test/codegen/expect/language-all.js ('k') | test/codegen/expect/node_modules.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 const exports = {}; 1 'use strict';
2 import dart from "./dart/_runtime"; 2 let dart = require("dart/_runtime");
3 import core from "./dart/core"; 3 let core = require("dart/core");
4 let dartx = dart.dartx; 4 let dartx = dart.dartx;
5 const Callback = dart.typedef('Callback', () => dart.functionType(dart.void, [], {i: core.int})); 5 const Callback = dart.typedef('Callback', () => dart.functionType(dart.void, [], {i: core.int}));
6 class A extends core.Object {} 6 class A extends core.Object {}
7 class _A extends core.Object {} 7 class _A extends core.Object {}
8 const B$ = dart.generic(function(T) { 8 const B$ = dart.generic(function(T) {
9 class B extends core.Object {} 9 class B extends core.Object {}
10 return B; 10 return B;
11 }); 11 });
12 let B = B$(); 12 let B = B$();
13 const _B$ = dart.generic(function(T) { 13 const _B$ = dart.generic(function(T) {
(...skipping 27 matching lines...) Expand all
41 }, 41 },
42 set lazyMutable(_) {} 42 set lazyMutable(_) {}
43 }); 43 });
44 // Exports: 44 // Exports:
45 exports.Callback = Callback; 45 exports.Callback = Callback;
46 exports.A = A; 46 exports.A = A;
47 exports.B$ = B$; 47 exports.B$ = B$;
48 exports.B = B; 48 exports.B = B;
49 exports.f = f; 49 exports.f = f;
50 exports.constant = constant; 50 exports.constant = constant;
51 export default exports;
OLDNEW
« no previous file with comments | « test/codegen/expect/language-all.js ('k') | test/codegen/expect/node_modules.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698