| OLD | NEW |
| 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 11 matching lines...) Expand all Loading... |
| 22 dart.addTypeTests(_B); | 22 dart.addTypeTests(_B); |
| 23 return _B; | 23 return _B; |
| 24 }); | 24 }); |
| 25 node_modules._B = _B(); | 25 node_modules._B = _B(); |
| 26 node_modules.f = function() { | 26 node_modules.f = function() { |
| 27 }; | 27 }; |
| 28 dart.fn(node_modules.f, VoidTodynamic()); | 28 dart.fn(node_modules.f, VoidTodynamic()); |
| 29 node_modules._f = function() { | 29 node_modules._f = function() { |
| 30 }; | 30 }; |
| 31 dart.fn(node_modules._f, VoidTodynamic()); | 31 dart.fn(node_modules._f, VoidTodynamic()); |
| 32 node_modules.constant = "abc"; | |
| 33 node_modules.finalConstant = "abc"; | |
| 34 dart.defineLazy(node_modules, { | 32 dart.defineLazy(node_modules, { |
| 33 get constant() { |
| 34 return "abc"; |
| 35 }, |
| 36 get finalConstant() { |
| 37 return "abc"; |
| 38 }, |
| 35 get lazy() { | 39 get lazy() { |
| 36 return dart.fn(() => { | 40 return dart.fn(() => { |
| 37 core.print('lazy'); | 41 core.print('lazy'); |
| 38 return "abc"; | 42 return "abc"; |
| 39 }, VoidToString())(); | 43 }, VoidToString())(); |
| 40 } | 44 }, |
| 41 }); | 45 get mutable() { |
| 42 node_modules.mutable = "abc"; | 46 return "abc"; |
| 43 dart.defineLazy(node_modules, { | 47 }, |
| 48 set mutable(_) {}, |
| 44 get lazyMutable() { | 49 get lazyMutable() { |
| 45 return dart.fn(() => { | 50 return dart.fn(() => { |
| 46 core.print('lazyMutable'); | 51 core.print('lazyMutable'); |
| 47 return "abc"; | 52 return "abc"; |
| 48 }, VoidToString())(); | 53 }, VoidToString())(); |
| 49 }, | 54 }, |
| 50 set lazyMutable(_) {} | 55 set lazyMutable(_) {} |
| 51 }); | 56 }); |
| 52 dart.trackLibraries("node_modules", {"node_modules.dart": node_modules}, null); | 57 dart.trackLibraries("node_modules", {"node_modules.dart": node_modules}, null); |
| 53 // Exports: | 58 // Exports: |
| 54 exports.node_modules = node_modules; | 59 exports.node_modules = node_modules; |
| OLD | NEW |