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

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

Issue 2703263002: Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge ou… (Closed)
Patch Set: Custom formatter cleanup Fix case where displaying a class constructor generated unreadable huge ou… Created 3 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 node_modules.mutable = "abc"; 42 node_modules.mutable = "abc";
43 dart.defineLazy(node_modules, { 43 dart.defineLazy(node_modules, {
44 get lazyMutable() { 44 get lazyMutable() {
45 return dart.fn(() => { 45 return dart.fn(() => {
46 core.print('lazyMutable'); 46 core.print('lazyMutable');
47 return "abc"; 47 return "abc";
48 }, VoidToString())(); 48 }, VoidToString())();
49 }, 49 },
50 set lazyMutable(_) {} 50 set lazyMutable(_) {}
51 }); 51 });
52 dart.trackLibraries("node_modules", {"node_modules.dart": node_modules});
52 // Exports: 53 // Exports:
53 exports.node_modules = node_modules; 54 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