OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/regress_22976_test_02_multi', null, /* Imports */
[ |
| 2 'dart_sdk' |
| 3 ], function load__regress_22976_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 regress_22976_test_02_multi = Object.create(null); |
| 9 let A = () => (A = dart.constFn(regress_22976_test_02_multi.A$()))(); |
| 10 let B = () => (B = dart.constFn(regress_22976_test_02_multi.B$()))(); |
| 11 let C = () => (C = dart.constFn(regress_22976_test_02_multi.C$()))(); |
| 12 let COfString$int = () => (COfString$int = dart.constFn(regress_22976_test_02_
multi.C$(core.String, core.int)))(); |
| 13 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 14 regress_22976_test_02_multi.A$ = dart.generic(T => { |
| 15 class A extends core.Object {} |
| 16 dart.addTypeTests(A); |
| 17 return A; |
| 18 }); |
| 19 regress_22976_test_02_multi.A = A(); |
| 20 regress_22976_test_02_multi.B$ = dart.generic(T => { |
| 21 let AOfT = () => (AOfT = dart.constFn(regress_22976_test_02_multi.A$(T)))(); |
| 22 class B extends core.Object {} |
| 23 dart.addTypeTests(B); |
| 24 B[dart.implements] = () => [AOfT()]; |
| 25 return B; |
| 26 }); |
| 27 regress_22976_test_02_multi.B = B(); |
| 28 regress_22976_test_02_multi.C$ = dart.generic((S, T) => { |
| 29 let BOfS = () => (BOfS = dart.constFn(regress_22976_test_02_multi.B$(S)))(); |
| 30 let AOfT = () => (AOfT = dart.constFn(regress_22976_test_02_multi.A$(T)))(); |
| 31 class C extends core.Object {} |
| 32 dart.addTypeTests(C); |
| 33 C[dart.implements] = () => [BOfS(), AOfT()]; |
| 34 return C; |
| 35 }); |
| 36 regress_22976_test_02_multi.C = C(); |
| 37 regress_22976_test_02_multi.main = function() { |
| 38 let a1 = new (COfString$int())(); |
| 39 }; |
| 40 dart.fn(regress_22976_test_02_multi.main, VoidTodynamic()); |
| 41 // Exports: |
| 42 exports.regress_22976_test_02_multi = regress_22976_test_02_multi; |
| 43 }); |
OLD | NEW |