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

Side by Side Diff: pkg/dev_compiler/test/codegen_expected/node_modules.js

Issue 2804113002: DDC fix for foreign futures (Closed)
Patch Set: Optimize Created 3 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
OLDNEW
1 'use strict'; 1 'use strict';
2 const dart_sdk = require('dart_sdk'); 2 const dart_sdk = require('dart_sdk');
3 const core = dart_sdk.core; 3 const core = dart_sdk.core;
4 const dart = dart_sdk.dart; 4 const dart = dart_sdk.dart;
5 const dartx = dart_sdk.dartx; 5 const dartx = dart_sdk.dartx;
6 const node_modules = Object.create(null); 6 const node_modules = Object.create(null);
7 let B = () => (B = dart.constFn(node_modules.B$()))(); 7 let B = () => (B = dart.constFn(node_modules.B$()))();
8 let _B = () => (_B = dart.constFn(node_modules._B$()))(); 8 let _B = () => (_B = dart.constFn(node_modules._B$()))();
9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionTyp e(dart.dynamic, [])))(); 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionTyp e(dart.dynamic, [])))();
10 let VoidToString = () => (VoidToString = dart.constFn(dart.definiteFunctionType( core.String, [])))(); 10 let VoidToString = () => (VoidToString = dart.constFn(dart.definiteFunctionType( core.String, [])))();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 }, 47 },
48 set mutable(_) {}, 48 set mutable(_) {},
49 get lazyMutable() { 49 get lazyMutable() {
50 return dart.fn(() => { 50 return dart.fn(() => {
51 core.print('lazyMutable'); 51 core.print('lazyMutable');
52 return "abc"; 52 return "abc";
53 }, VoidToString())(); 53 }, VoidToString())();
54 }, 54 },
55 set lazyMutable(_) {} 55 set lazyMutable(_) {}
56 }); 56 });
57 dart.trackLibraries("node_modules", {"node_modules.dart": node_modules}, null); 57 dart.trackLibraries("node_modules", {
58 "node_modules.dart": node_modules
59 }, null);
58 // Exports: 60 // Exports:
59 exports.node_modules = node_modules; 61 exports.node_modules = node_modules;
OLDNEW
« no previous file with comments | « pkg/dev_compiler/test/codegen_expected/map_keys.js ('k') | pkg/dev_compiler/test/codegen_expected/script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698