OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/inferrer_constructor5_test_none_multi', null, /*
Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__inferrer_constructor5_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 inferrer_constructor5_test_none_multi = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 inferrer_constructor5_test_none_multi.A = class A extends core.Object { |
| 11 new() { |
| 12 } |
| 13 }; |
| 14 dart.setSignature(inferrer_constructor5_test_none_multi.A, { |
| 15 constructors: () => ({new: dart.definiteFunctionType(inferrer_constructor5_t
est_none_multi.A, [])}) |
| 16 }); |
| 17 inferrer_constructor5_test_none_multi.B = class B extends inferrer_constructor
5_test_none_multi.A { |
| 18 new() { |
| 19 this.field = null; |
| 20 super.new(); |
| 21 this.field = 42; |
| 22 } |
| 23 }; |
| 24 dart.setSignature(inferrer_constructor5_test_none_multi.B, { |
| 25 constructors: () => ({new: dart.definiteFunctionType(inferrer_constructor5_t
est_none_multi.B, [])}) |
| 26 }); |
| 27 inferrer_constructor5_test_none_multi.main = function() { |
| 28 }; |
| 29 dart.fn(inferrer_constructor5_test_none_multi.main, VoidTodynamic()); |
| 30 // Exports: |
| 31 exports.inferrer_constructor5_test_none_multi = inferrer_constructor5_test_non
e_multi; |
| 32 }); |
OLD | NEW |