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

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

Issue 1988503002: Move generated files to gen/. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Revise. Created 4 years, 7 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
(Empty)
1 (function() {
2 'use strict';
3 const dart_sdk = require('dart_sdk');
4 const core = dart_sdk.core;
5 const dart = dart_sdk.dart;
6 const dartx = dart_sdk.dartx;
7 const node_modules = Object.create(null);
8 node_modules.Callback = dart.typedef('Callback', () => dart.functionType(dart. void, [], {i: core.int}));
9 node_modules.A = class A extends core.Object {};
10 node_modules._A = class _A extends core.Object {};
11 node_modules.B$ = dart.generic(T => {
12 class B extends core.Object {}
13 return B;
14 });
15 node_modules.B = node_modules.B$();
16 node_modules._B$ = dart.generic(T => {
17 class _B extends core.Object {}
18 return _B;
19 });
20 node_modules._B = node_modules._B$();
21 node_modules.f = function() {
22 };
23 dart.fn(node_modules.f);
24 node_modules._f = function() {
25 };
26 dart.fn(node_modules._f);
27 node_modules.constant = "abc";
28 node_modules.finalConstant = "abc";
29 dart.defineLazy(node_modules, {
30 get lazy() {
31 return dart.fn(() => {
32 core.print('lazy');
33 return "abc";
34 }, core.String, [])();
35 }
36 });
37 node_modules.mutable = "abc";
38 dart.defineLazy(node_modules, {
39 get lazyMutable() {
40 return dart.fn(() => {
41 core.print('lazyMutable');
42 return "abc";
43 }, core.String, [])();
44 },
45 set lazyMutable(_) {}
46 });
47 // Exports:
48 exports.node_modules = node_modules;
49 })();
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