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

Side by Side Diff: pkg/dev_compiler/test/codegen_expected/es6_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 export const es6_modules = Object.create(null); 1 export const es6_modules = Object.create(null);
2 import { core, dart, dartx } from 'dart_sdk'; 2 import { core, dart, dartx } from 'dart_sdk';
3 let B = () => (B = dart.constFn(es6_modules.B$()))(); 3 let B = () => (B = dart.constFn(es6_modules.B$()))();
4 let _B = () => (_B = dart.constFn(es6_modules._B$()))(); 4 let _B = () => (_B = dart.constFn(es6_modules._B$()))();
5 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionTyp e(dart.dynamic, [])))(); 5 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionTyp e(dart.dynamic, [])))();
6 let VoidToString = () => (VoidToString = dart.constFn(dart.definiteFunctionType( core.String, [])))(); 6 let VoidToString = () => (VoidToString = dart.constFn(dart.definiteFunctionType( core.String, [])))();
7 es6_modules.Callback = dart.typedef('Callback', () => dart.functionType(dart.voi d, [], {i: core.int})); 7 es6_modules.Callback = dart.typedef('Callback', () => dart.functionType(dart.voi d, [], {i: core.int}));
8 es6_modules.A = class A extends core.Object {}; 8 es6_modules.A = class A extends core.Object {};
9 es6_modules._A = class _A extends core.Object {}; 9 es6_modules._A = class _A extends core.Object {};
10 es6_modules.B$ = dart.generic(T => { 10 es6_modules.B$ = dart.generic(T => {
(...skipping 27 matching lines...) Expand all
38 es6_modules.mutable = "abc"; 38 es6_modules.mutable = "abc";
39 dart.defineLazy(es6_modules, { 39 dart.defineLazy(es6_modules, {
40 get lazyMutable() { 40 get lazyMutable() {
41 return dart.fn(() => { 41 return dart.fn(() => {
42 core.print('lazyMutable'); 42 core.print('lazyMutable');
43 return "abc"; 43 return "abc";
44 }, VoidToString())(); 44 }, VoidToString())();
45 }, 45 },
46 set lazyMutable(_) {} 46 set lazyMutable(_) {}
47 }); 47 });
48 dart.trackLibraries("es6_modules", {"es6_modules.dart": es6_modules});
OLDNEW
« no previous file with comments | « pkg/dev_compiler/test/codegen_expected/destructuring.js ('k') | pkg/dev_compiler/test/codegen_expected/map_keys.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698