OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/async_backwards_compatibility_2_test', null, /* I
mports */[ |
| 2 'dart_sdk' |
| 3 ], function load__async_backwards_compatibility_2_test(exports, dart_sdk) { |
| 4 'use strict'; |
| 5 const core = dart_sdk.core; |
| 6 const dart = dart_sdk.dart; |
| 7 const dartx = dart_sdk.dartx; |
| 8 const async_backwards_compatibility_2_test = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 dart.copyProperties(async_backwards_compatibility_2_test, { |
| 11 get async() { |
| 12 return 1; |
| 13 } |
| 14 }); |
| 15 async_backwards_compatibility_2_test.A = class A extends core.Object { |
| 16 async() { |
| 17 return null; |
| 18 } |
| 19 }; |
| 20 dart.setSignature(async_backwards_compatibility_2_test.A, { |
| 21 methods: () => ({async: dart.definiteFunctionType(dart.dynamic, [])}) |
| 22 }); |
| 23 async_backwards_compatibility_2_test.main = function() { |
| 24 let a = async_backwards_compatibility_2_test.async; |
| 25 let b = new async_backwards_compatibility_2_test.A(); |
| 26 let c = b.async(); |
| 27 }; |
| 28 dart.fn(async_backwards_compatibility_2_test.main, VoidTodynamic()); |
| 29 // Exports: |
| 30 exports.async_backwards_compatibility_2_test = async_backwards_compatibility_2
_test; |
| 31 }); |
OLD | NEW |