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

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

Issue 1757343002: upgrade to latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 9 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.js ('k') | test/codegen/expect/opassign.js » ('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"); 2 let dart = require("dart/_runtime");
3 let core = require("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) {
14 class _B extends core.Object {} 14 class _B extends core.Object {}
15 return _B; 15 return _B;
16 }); 16 });
17 let _B = _B$(); 17 let _B = _B$();
18 function f() { 18 function f() {
19 } 19 }
20 dart.fn(f); 20 dart.fn(f);
21 function _f() { 21 function _f() {
22 } 22 }
23 dart.fn(_f); 23 dart.fn(_f);
24 const constant = "abc"; 24 const constant = "abc";
25 exports.finalConstant = "abc"; 25 exports.finalConstant = "abc";
26 dart.defineLazyProperties(exports, { 26 dart.defineLazyProperties(exports, {
27 get lazy() { 27 get lazy() {
28 return dart.as(dart.fn(() => { 28 return dart.fn(() => {
29 core.print('lazy'); 29 core.print('lazy');
30 return "abc"; 30 return "abc";
31 })(), core.String); 31 }, core.String, [])();
32 } 32 }
33 }); 33 });
34 exports.mutable = "abc"; 34 exports.mutable = "abc";
35 dart.defineLazyProperties(exports, { 35 dart.defineLazyProperties(exports, {
36 get lazyMutable() { 36 get lazyMutable() {
37 return dart.as(dart.fn(() => { 37 return dart.fn(() => {
38 core.print('lazyMutable'); 38 core.print('lazyMutable');
39 return "abc"; 39 return "abc";
40 })(), core.String); 40 }, core.String, [])();
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;
OLDNEW
« no previous file with comments | « test/codegen/expect/names.js ('k') | test/codegen/expect/opassign.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698