OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/cyclic_metadata_test_02_multi', null, /* Imports
*/[ |
| 2 'dart_sdk' |
| 3 ], function load__cyclic_metadata_test_02_multi(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 cyclic_metadata_test_02_multi = Object.create(null); |
| 9 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da
rt.void, [])))(); |
| 10 cyclic_metadata_test_02_multi.Super = class Super extends core.Object { |
| 11 new(field) { |
| 12 this.field = field; |
| 13 } |
| 14 }; |
| 15 dart.setSignature(cyclic_metadata_test_02_multi.Super, { |
| 16 constructors: () => ({new: dart.definiteFunctionType(cyclic_metadata_test_02
_multi.Super, [dart.dynamic])}) |
| 17 }); |
| 18 cyclic_metadata_test_02_multi.Sub1 = class Sub1 extends cyclic_metadata_test_0
2_multi.Super { |
| 19 new(field) { |
| 20 super.new(field); |
| 21 } |
| 22 }; |
| 23 dart.setSignature(cyclic_metadata_test_02_multi.Sub1, { |
| 24 constructors: () => ({new: dart.definiteFunctionType(cyclic_metadata_test_02
_multi.Sub1, [dart.dynamic])}) |
| 25 }); |
| 26 cyclic_metadata_test_02_multi.Sub2 = class Sub2 extends cyclic_metadata_test_0
2_multi.Super { |
| 27 new(field) { |
| 28 super.new(field); |
| 29 } |
| 30 }; |
| 31 dart.setSignature(cyclic_metadata_test_02_multi.Sub2, { |
| 32 constructors: () => ({new: dart.definiteFunctionType(cyclic_metadata_test_02
_multi.Sub2, [dart.dynamic])}) |
| 33 }); |
| 34 cyclic_metadata_test_02_multi.main = function() { |
| 35 core.print(new cyclic_metadata_test_02_multi.Super(1)); |
| 36 }; |
| 37 dart.fn(cyclic_metadata_test_02_multi.main, VoidTovoid()); |
| 38 // Exports: |
| 39 exports.cyclic_metadata_test_02_multi = cyclic_metadata_test_02_multi; |
| 40 }); |
OLD | NEW |