OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/constructor10_test_none_multi', null, /* Imports
*/[ |
| 2 'dart_sdk' |
| 3 ], function load__constructor10_test_none_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 constructor10_test_none_multi = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 constructor10_test_none_multi.A = class A extends core.Object { |
| 11 new(x) { |
| 12 this.x = x; |
| 13 } |
| 14 }; |
| 15 dart.setSignature(constructor10_test_none_multi.A, { |
| 16 constructors: () => ({new: dart.definiteFunctionType(constructor10_test_none
_multi.A, [dart.dynamic])}) |
| 17 }); |
| 18 constructor10_test_none_multi.B = class B extends constructor10_test_none_mult
i.A { |
| 19 new() { |
| 20 super.new(null); |
| 21 } |
| 22 }; |
| 23 dart.setSignature(constructor10_test_none_multi.B, { |
| 24 constructors: () => ({new: dart.definiteFunctionType(constructor10_test_none
_multi.B, [])}) |
| 25 }); |
| 26 constructor10_test_none_multi.Y = class Y extends constructor10_test_none_mult
i.A { |
| 27 new() { |
| 28 super.new(null); |
| 29 } |
| 30 }; |
| 31 dart.setSignature(constructor10_test_none_multi.Y, { |
| 32 constructors: () => ({new: dart.definiteFunctionType(constructor10_test_none
_multi.Y, [])}) |
| 33 }); |
| 34 constructor10_test_none_multi.Z = class Z extends constructor10_test_none_mult
i.Y { |
| 35 new() { |
| 36 super.new(); |
| 37 } |
| 38 }; |
| 39 dart.setSignature(constructor10_test_none_multi.Z, { |
| 40 constructors: () => ({new: dart.definiteFunctionType(constructor10_test_none
_multi.Z, [])}) |
| 41 }); |
| 42 constructor10_test_none_multi.G = class G extends constructor10_test_none_mult
i.A { |
| 43 new() { |
| 44 super.new(null); |
| 45 } |
| 46 }; |
| 47 dart.setSignature(constructor10_test_none_multi.G, { |
| 48 constructors: () => ({new: dart.definiteFunctionType(constructor10_test_none
_multi.G, [])}) |
| 49 }); |
| 50 constructor10_test_none_multi.H = class H extends constructor10_test_none_mult
i.G { |
| 51 new() { |
| 52 super.new(); |
| 53 } |
| 54 }; |
| 55 constructor10_test_none_multi.main = function() { |
| 56 new constructor10_test_none_multi.B().x; |
| 57 new constructor10_test_none_multi.Z().x; |
| 58 new constructor10_test_none_multi.H().x; |
| 59 }; |
| 60 dart.fn(constructor10_test_none_multi.main, VoidTodynamic()); |
| 61 // Exports: |
| 62 exports.constructor10_test_none_multi = constructor10_test_none_multi; |
| 63 }); |
OLD | NEW |