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

Side by Side Diff: test/codegen/expect/node_modules.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
« no previous file with comments | « test/codegen/expect/names.txt ('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 'use strict'; 1 'use strict';
2 let dart = require("dart/_runtime");
3 let core = require("dart/core");
4 let dartx = dart.dartx;
5 const Callback = dart.typedef('Callback', () => dart.functionType(dart.void, [], {i: core.int}));
6 class A extends core.Object {}
7 class _A extends core.Object {}
8 const B$ = dart.generic(function(T) {
9 class B extends core.Object {}
10 return B;
11 });
12 let B = B$();
13 const _B$ = dart.generic(function(T) {
14 class _B extends core.Object {}
15 return _B;
16 });
17 let _B = _B$();
18 function f() {
19 }
20 dart.fn(f);
21 function _f() {
22 }
23 dart.fn(_f);
24 const constant = "abc";
25 exports.finalConstant = "abc";
26 dart.defineLazyProperties(exports, {
27 get lazy() {
28 return dart.fn(() => {
29 core.print('lazy');
30 return "abc";
31 }, core.String, [])();
32 }
33 });
34 exports.mutable = "abc";
35 dart.defineLazyProperties(exports, {
36 get lazyMutable() {
37 return dart.fn(() => {
38 core.print('lazyMutable');
39 return "abc";
40 }, core.String, [])();
41 },
42 set lazyMutable(_) {}
43 });
44 // Exports:
45 exports.Callback = Callback;
46 exports.A = A;
47 exports.B$ = B$;
48 exports.B = B;
49 exports.f = f;
50 exports.constant = constant;
OLDNEW
« no previous file with comments | « test/codegen/expect/names.txt ('k') | test/codegen/expect/node_modules.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698