OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/async_await_syntax_test_a05c_multi', null, /* Imp
orts */[ |
| 2 'dart_sdk' |
| 3 ], function load__async_await_syntax_test_a05c_multi(exports, dart_sdk) { |
| 4 'use strict'; |
| 5 const core = dart_sdk.core; |
| 6 const async = dart_sdk.async; |
| 7 const dart = dart_sdk.dart; |
| 8 const dartx = dart_sdk.dartx; |
| 9 const async_await_syntax_test_a05c_multi = Object.create(null); |
| 10 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun
ctionType(dart.dynamic, [dart.dynamic])))(); |
| 11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 12 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da
rt.void, [])))(); |
| 13 async_await_syntax_test_a05c_multi.yield = 0; |
| 14 async_await_syntax_test_a05c_multi.await = 0; |
| 15 dart.copyProperties(async_await_syntax_test_a05c_multi, { |
| 16 get st() { |
| 17 return async.Stream.fromIterable([]); |
| 18 } |
| 19 }); |
| 20 async_await_syntax_test_a05c_multi.a05c = function() { |
| 21 function await$(a) { |
| 22 } |
| 23 dart.fn(await$, dynamicTodynamic()); |
| 24 ; |
| 25 await$(0); |
| 26 }; |
| 27 dart.fn(async_await_syntax_test_a05c_multi.a05c, VoidTodynamic()); |
| 28 async_await_syntax_test_a05c_multi.B = class B extends core.Object {}; |
| 29 async_await_syntax_test_a05c_multi.C = class C extends async_await_syntax_test
_a05c_multi.B { |
| 30 new() { |
| 31 } |
| 32 }; |
| 33 dart.setSignature(async_await_syntax_test_a05c_multi.C, { |
| 34 constructors: () => ({new: dart.definiteFunctionType(async_await_syntax_test
_a05c_multi.C, [])}) |
| 35 }); |
| 36 async_await_syntax_test_a05c_multi.method1 = function() { |
| 37 }; |
| 38 dart.fn(async_await_syntax_test_a05c_multi.method1, VoidTodynamic()); |
| 39 async_await_syntax_test_a05c_multi.method2 = function() { |
| 40 }; |
| 41 dart.fn(async_await_syntax_test_a05c_multi.method2, VoidTodynamic()); |
| 42 async_await_syntax_test_a05c_multi.main = function() { |
| 43 let a = null; |
| 44 let c = new async_await_syntax_test_a05c_multi.C(); |
| 45 async_await_syntax_test_a05c_multi.a05c(); |
| 46 async_await_syntax_test_a05c_multi.method1(); |
| 47 async_await_syntax_test_a05c_multi.method2(); |
| 48 }; |
| 49 dart.fn(async_await_syntax_test_a05c_multi.main, VoidTovoid()); |
| 50 // Exports: |
| 51 exports.async_await_syntax_test_a05c_multi = async_await_syntax_test_a05c_mult
i; |
| 52 }); |
OLD | NEW |