OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/compile_time_constant_checked5_test_02_multi', nu
ll, /* Imports */[ |
| 2 'dart_sdk' |
| 3 ], function load__compile_time_constant_checked5_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 compile_time_constant_checked5_test_02_multi = Object.create(null); |
| 9 let Test2 = () => (Test2 = dart.constFn(compile_time_constant_checked5_test_02
_multi.Test2$()))(); |
| 10 let Test3 = () => (Test3 = dart.constFn(compile_time_constant_checked5_test_02
_multi.Test3$()))(); |
| 11 let Test4 = () => (Test4 = dart.constFn(compile_time_constant_checked5_test_02
_multi.Test4$()))(); |
| 12 let Test5 = () => (Test5 = dart.constFn(compile_time_constant_checked5_test_02
_multi.Test5$()))(); |
| 13 let Test2OfA$B = () => (Test2OfA$B = dart.constFn(compile_time_constant_checke
d5_test_02_multi.Test2$(compile_time_constant_checked5_test_02_multi.A, compile_
time_constant_checked5_test_02_multi.B)))(); |
| 14 let Test3OfA$B = () => (Test3OfA$B = dart.constFn(compile_time_constant_checke
d5_test_02_multi.Test3$(compile_time_constant_checked5_test_02_multi.A, compile_
time_constant_checked5_test_02_multi.B)))(); |
| 15 let Test4OfA$B = () => (Test4OfA$B = dart.constFn(compile_time_constant_checke
d5_test_02_multi.Test4$(compile_time_constant_checked5_test_02_multi.A, compile_
time_constant_checked5_test_02_multi.B)))(); |
| 16 let Test5OfA$B = () => (Test5OfA$B = dart.constFn(compile_time_constant_checke
d5_test_02_multi.Test5$(compile_time_constant_checked5_test_02_multi.A, compile_
time_constant_checked5_test_02_multi.B)))(); |
| 17 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun
ctionType(dart.dynamic, [dart.dynamic])))(); |
| 18 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 19 compile_time_constant_checked5_test_02_multi.A = class A extends core.Object { |
| 20 new() { |
| 21 } |
| 22 }; |
| 23 dart.setSignature(compile_time_constant_checked5_test_02_multi.A, { |
| 24 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant_c
hecked5_test_02_multi.A, [])}) |
| 25 }); |
| 26 compile_time_constant_checked5_test_02_multi.B = class B extends compile_time_
constant_checked5_test_02_multi.A { |
| 27 new() { |
| 28 super.new(); |
| 29 } |
| 30 }; |
| 31 dart.setSignature(compile_time_constant_checked5_test_02_multi.B, { |
| 32 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant_c
hecked5_test_02_multi.B, [])}) |
| 33 }); |
| 34 compile_time_constant_checked5_test_02_multi.C = class C extends compile_time_
constant_checked5_test_02_multi.A { |
| 35 new() { |
| 36 super.new(); |
| 37 } |
| 38 static d() { |
| 39 return new compile_time_constant_checked5_test_02_multi.D(); |
| 40 } |
| 41 }; |
| 42 dart.setSignature(compile_time_constant_checked5_test_02_multi.C, { |
| 43 constructors: () => ({ |
| 44 new: dart.definiteFunctionType(compile_time_constant_checked5_test_02_mult
i.C, []), |
| 45 d: dart.definiteFunctionType(compile_time_constant_checked5_test_02_multi.
C, []) |
| 46 }) |
| 47 }); |
| 48 compile_time_constant_checked5_test_02_multi.D = class D extends compile_time_
constant_checked5_test_02_multi.B { |
| 49 new() { |
| 50 super.new(); |
| 51 } |
| 52 }; |
| 53 compile_time_constant_checked5_test_02_multi.D[dart.implements] = () => [compi
le_time_constant_checked5_test_02_multi.C]; |
| 54 dart.setSignature(compile_time_constant_checked5_test_02_multi.D, { |
| 55 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant_c
hecked5_test_02_multi.D, [])}) |
| 56 }); |
| 57 let const$; |
| 58 compile_time_constant_checked5_test_02_multi.Test1 = class Test1 extends core.
Object { |
| 59 new() { |
| 60 this.x = const$ || (const$ = dart.const(new compile_time_constant_checked5
_test_02_multi.B())); |
| 61 } |
| 62 }; |
| 63 dart.setSignature(compile_time_constant_checked5_test_02_multi.Test1, { |
| 64 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant_c
hecked5_test_02_multi.Test1, [])}) |
| 65 }); |
| 66 compile_time_constant_checked5_test_02_multi.Test2$ = dart.generic((U, V) => { |
| 67 class Test2 extends core.Object { |
| 68 new() { |
| 69 } |
| 70 } |
| 71 dart.addTypeTests(Test2); |
| 72 dart.setSignature(Test2, { |
| 73 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant
_checked5_test_02_multi.Test2$(U, V), [])}) |
| 74 }); |
| 75 return Test2; |
| 76 }); |
| 77 compile_time_constant_checked5_test_02_multi.Test2 = Test2(); |
| 78 compile_time_constant_checked5_test_02_multi.Test3$ = dart.generic((U, V) => { |
| 79 class Test3 extends core.Object { |
| 80 new() { |
| 81 } |
| 82 } |
| 83 dart.addTypeTests(Test3); |
| 84 dart.setSignature(Test3, { |
| 85 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant
_checked5_test_02_multi.Test3$(U, V), [])}) |
| 86 }); |
| 87 return Test3; |
| 88 }); |
| 89 compile_time_constant_checked5_test_02_multi.Test3 = Test3(); |
| 90 compile_time_constant_checked5_test_02_multi.Test4$ = dart.generic((U, V) => { |
| 91 class Test4 extends core.Object { |
| 92 new() { |
| 93 } |
| 94 } |
| 95 dart.addTypeTests(Test4); |
| 96 dart.setSignature(Test4, { |
| 97 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant
_checked5_test_02_multi.Test4$(U, V), [])}) |
| 98 }); |
| 99 return Test4; |
| 100 }); |
| 101 compile_time_constant_checked5_test_02_multi.Test4 = Test4(); |
| 102 compile_time_constant_checked5_test_02_multi.Test5$ = dart.generic((U, V) => { |
| 103 class Test5 extends core.Object { |
| 104 new() { |
| 105 } |
| 106 } |
| 107 dart.addTypeTests(Test5); |
| 108 dart.setSignature(Test5, { |
| 109 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant
_checked5_test_02_multi.Test5$(U, V), [])}) |
| 110 }); |
| 111 return Test5; |
| 112 }); |
| 113 compile_time_constant_checked5_test_02_multi.Test5 = Test5(); |
| 114 compile_time_constant_checked5_test_02_multi.use = function(x) { |
| 115 return x; |
| 116 }; |
| 117 dart.fn(compile_time_constant_checked5_test_02_multi.use, dynamicTodynamic()); |
| 118 let const$0; |
| 119 let const$1; |
| 120 let const$2; |
| 121 let const$3; |
| 122 let const$4; |
| 123 compile_time_constant_checked5_test_02_multi.main = function() { |
| 124 compile_time_constant_checked5_test_02_multi.use(const$0 || (const$0 = dart.
const(new compile_time_constant_checked5_test_02_multi.Test1()))); |
| 125 compile_time_constant_checked5_test_02_multi.use(const$1 || (const$1 = dart.
const(new (Test2OfA$B())()))); |
| 126 compile_time_constant_checked5_test_02_multi.use(const$2 || (const$2 = dart.
const(new (Test3OfA$B())()))); |
| 127 compile_time_constant_checked5_test_02_multi.use(const$3 || (const$3 = dart.
const(new (Test4OfA$B())()))); |
| 128 compile_time_constant_checked5_test_02_multi.use(const$4 || (const$4 = dart.
const(new (Test5OfA$B())()))); |
| 129 }; |
| 130 dart.fn(compile_time_constant_checked5_test_02_multi.main, VoidTodynamic()); |
| 131 // Exports: |
| 132 exports.compile_time_constant_checked5_test_02_multi = compile_time_constant_c
hecked5_test_02_multi; |
| 133 }); |
OLD | NEW |