OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/f_bounded_quantification3_test', null, /* Imports
*/[ |
| 2 'dart_sdk' |
| 3 ], function load__f_bounded_quantification3_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 f_bounded_quantification3_test = Object.create(null); |
| 9 let FBound1 = () => (FBound1 = dart.constFn(f_bounded_quantification3_test.FBo
und1$()))(); |
| 10 let FBound2 = () => (FBound2 = dart.constFn(f_bounded_quantification3_test.FBo
und2$()))(); |
| 11 let FBound1OfBar$Baz = () => (FBound1OfBar$Baz = dart.constFn(f_bounded_quanti
fication3_test.FBound1$(f_bounded_quantification3_test.Bar, f_bounded_quantifica
tion3_test.Baz)))(); |
| 12 let FBound2OfBar$Baz = () => (FBound2OfBar$Baz = dart.constFn(f_bounded_quanti
fication3_test.FBound2$(f_bounded_quantification3_test.Bar, f_bounded_quantifica
tion3_test.Baz)))(); |
| 13 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 14 f_bounded_quantification3_test.FBound1$ = dart.generic((F1, F2) => { |
| 15 let FBound1OfF1$F2 = () => (FBound1OfF1$F2 = dart.constFn(f_bounded_quantifi
cation3_test.FBound1$(F1, F2)))(); |
| 16 let FBound2OfF1$F2 = () => (FBound2OfF1$F2 = dart.constFn(f_bounded_quantifi
cation3_test.FBound2$(F1, F2)))(); |
| 17 class FBound1 extends core.Object { |
| 18 Test() { |
| 19 new (FBound1OfF1$F2())(); |
| 20 new (FBound2OfF1$F2())(); |
| 21 } |
| 22 } |
| 23 dart.addTypeTests(FBound1); |
| 24 dart.setSignature(FBound1, { |
| 25 methods: () => ({Test: dart.definiteFunctionType(dart.dynamic, [])}) |
| 26 }); |
| 27 return FBound1; |
| 28 }); |
| 29 f_bounded_quantification3_test.FBound1 = FBound1(); |
| 30 f_bounded_quantification3_test.FBound2$ = dart.generic((F1, F2) => { |
| 31 let FBound1OfF1$F2 = () => (FBound1OfF1$F2 = dart.constFn(f_bounded_quantifi
cation3_test.FBound1$(F1, F2)))(); |
| 32 let FBound2OfF1$F2 = () => (FBound2OfF1$F2 = dart.constFn(f_bounded_quantifi
cation3_test.FBound2$(F1, F2)))(); |
| 33 class FBound2 extends core.Object { |
| 34 Test() { |
| 35 new (FBound1OfF1$F2())(); |
| 36 new (FBound2OfF1$F2())(); |
| 37 } |
| 38 } |
| 39 dart.addTypeTests(FBound2); |
| 40 dart.setSignature(FBound2, { |
| 41 methods: () => ({Test: dart.definiteFunctionType(dart.dynamic, [])}) |
| 42 }); |
| 43 return FBound2; |
| 44 }); |
| 45 f_bounded_quantification3_test.FBound2 = FBound2(); |
| 46 f_bounded_quantification3_test.Bar = class Bar extends f_bounded_quantificatio
n3_test.FBound1 {}; |
| 47 dart.setBaseClass(f_bounded_quantification3_test.Bar, f_bounded_quantification
3_test.FBound1$(f_bounded_quantification3_test.Bar, f_bounded_quantification3_te
st.Baz)); |
| 48 dart.addSimpleTypeTests(f_bounded_quantification3_test.Bar); |
| 49 f_bounded_quantification3_test.Baz = class Baz extends f_bounded_quantificatio
n3_test.FBound2 {}; |
| 50 dart.setBaseClass(f_bounded_quantification3_test.Baz, f_bounded_quantification
3_test.FBound2$(f_bounded_quantification3_test.Bar, f_bounded_quantification3_te
st.Baz)); |
| 51 dart.addSimpleTypeTests(f_bounded_quantification3_test.Baz); |
| 52 f_bounded_quantification3_test.main = function() { |
| 53 new (FBound1OfBar$Baz())().Test(); |
| 54 new (FBound2OfBar$Baz())().Test(); |
| 55 }; |
| 56 dart.fn(f_bounded_quantification3_test.main, VoidTodynamic()); |
| 57 // Exports: |
| 58 exports.f_bounded_quantification3_test = f_bounded_quantification3_test; |
| 59 }); |
OLD | NEW |