OLD | NEW |
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.fnType(dart.dynamic
, [])))(); |
6 let VoidToString = () => (VoidToString = dart.constFn(dart.definiteFunctionType(
core.String, [])))(); | 6 let VoidToString = () => (VoidToString = dart.constFn(dart.fnType(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.fnTypeFuzzy(dart.void
, [], {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 => { |
11 class B extends core.Object {} | 11 class B extends core.Object {} |
12 dart.addTypeTests(B); | 12 dart.addTypeTests(B); |
13 return B; | 13 return B; |
14 }); | 14 }); |
15 es6_modules.B = B(); | 15 es6_modules.B = B(); |
16 es6_modules._B$ = dart.generic(T => { | 16 es6_modules._B$ = dart.generic(T => { |
17 class _B extends core.Object {} | 17 class _B extends core.Object {} |
(...skipping 28 matching lines...) Expand all Loading... |
46 return dart.fn(() => { | 46 return dart.fn(() => { |
47 core.print('lazyMutable'); | 47 core.print('lazyMutable'); |
48 return "abc"; | 48 return "abc"; |
49 }, VoidToString())(); | 49 }, VoidToString())(); |
50 }, | 50 }, |
51 set lazyMutable(_) {} | 51 set lazyMutable(_) {} |
52 }); | 52 }); |
53 dart.trackLibraries("es6_modules", { | 53 dart.trackLibraries("es6_modules", { |
54 "es6_modules.dart": es6_modules | 54 "es6_modules.dart": es6_modules |
55 }, null); | 55 }, null); |
OLD | NEW |