OLD | NEW |
(Empty) | |
| 1 dart_library.library('language/mixin_extends_is_test', null, /* Imports */[ |
| 2 'dart_sdk', |
| 3 'expect' |
| 4 ], function load__mixin_extends_is_test(exports, dart_sdk, expect) { |
| 5 'use strict'; |
| 6 const core = dart_sdk.core; |
| 7 const dart = dart_sdk.dart; |
| 8 const dartx = dart_sdk.dartx; |
| 9 const expect$ = expect.expect; |
| 10 const mixin_extends_is_test = Object.create(null); |
| 11 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 12 mixin_extends_is_test.S = class S extends core.Object {}; |
| 13 mixin_extends_is_test.M1 = class M1 extends core.Object {}; |
| 14 mixin_extends_is_test.M2 = class M2 extends core.Object {}; |
| 15 mixin_extends_is_test.C = class C extends dart.mixin(mixin_extends_is_test.S,
mixin_extends_is_test.M1) {}; |
| 16 mixin_extends_is_test.D = class D extends dart.mixin(mixin_extends_is_test.S,
mixin_extends_is_test.M1, mixin_extends_is_test.M2) {}; |
| 17 mixin_extends_is_test.E = class E extends dart.mixin(mixin_extends_is_test.S,
mixin_extends_is_test.M2, mixin_extends_is_test.M1) {}; |
| 18 mixin_extends_is_test.F = class F extends mixin_extends_is_test.E {}; |
| 19 mixin_extends_is_test.C_ = class C_ extends dart.mixin(mixin_extends_is_test.S
, mixin_extends_is_test.M1) {}; |
| 20 mixin_extends_is_test.D_ = class D_ extends dart.mixin(mixin_extends_is_test.S
, mixin_extends_is_test.M1, mixin_extends_is_test.M2) {}; |
| 21 mixin_extends_is_test.E_ = class E_ extends dart.mixin(mixin_extends_is_test.S
, mixin_extends_is_test.M2, mixin_extends_is_test.M1) {}; |
| 22 mixin_extends_is_test.F_ = class F_ extends mixin_extends_is_test.E_ {}; |
| 23 mixin_extends_is_test.main = function() { |
| 24 let c = new mixin_extends_is_test.C(); |
| 25 expect$.Expect.isTrue(mixin_extends_is_test.C.is(c)); |
| 26 expect$.Expect.isFalse(mixin_extends_is_test.D.is(c)); |
| 27 expect$.Expect.isFalse(mixin_extends_is_test.E.is(c)); |
| 28 expect$.Expect.isFalse(mixin_extends_is_test.F.is(c)); |
| 29 expect$.Expect.isTrue(mixin_extends_is_test.S.is(c)); |
| 30 expect$.Expect.isTrue(mixin_extends_is_test.M1.is(c)); |
| 31 expect$.Expect.isFalse(mixin_extends_is_test.M2.is(c)); |
| 32 let d = new mixin_extends_is_test.D(); |
| 33 expect$.Expect.isFalse(mixin_extends_is_test.C.is(d)); |
| 34 expect$.Expect.isTrue(mixin_extends_is_test.D.is(d)); |
| 35 expect$.Expect.isFalse(mixin_extends_is_test.E.is(d)); |
| 36 expect$.Expect.isFalse(mixin_extends_is_test.F.is(d)); |
| 37 expect$.Expect.isTrue(mixin_extends_is_test.S.is(d)); |
| 38 expect$.Expect.isTrue(mixin_extends_is_test.M1.is(d)); |
| 39 expect$.Expect.isTrue(mixin_extends_is_test.M2.is(d)); |
| 40 let e = new mixin_extends_is_test.E(); |
| 41 expect$.Expect.isFalse(mixin_extends_is_test.C.is(e)); |
| 42 expect$.Expect.isFalse(mixin_extends_is_test.D.is(e)); |
| 43 expect$.Expect.isTrue(mixin_extends_is_test.E.is(e)); |
| 44 expect$.Expect.isFalse(mixin_extends_is_test.F.is(e)); |
| 45 expect$.Expect.isTrue(mixin_extends_is_test.S.is(e)); |
| 46 expect$.Expect.isTrue(mixin_extends_is_test.M1.is(e)); |
| 47 expect$.Expect.isTrue(mixin_extends_is_test.M2.is(e)); |
| 48 let f = new mixin_extends_is_test.F(); |
| 49 expect$.Expect.isFalse(mixin_extends_is_test.C.is(f)); |
| 50 expect$.Expect.isFalse(mixin_extends_is_test.D.is(f)); |
| 51 expect$.Expect.isTrue(mixin_extends_is_test.E.is(f)); |
| 52 expect$.Expect.isTrue(mixin_extends_is_test.F.is(f)); |
| 53 expect$.Expect.isTrue(mixin_extends_is_test.S.is(f)); |
| 54 expect$.Expect.isTrue(mixin_extends_is_test.M1.is(f)); |
| 55 expect$.Expect.isTrue(mixin_extends_is_test.M2.is(f)); |
| 56 expect$.Expect.isFalse(mixin_extends_is_test.C_.is(c)); |
| 57 expect$.Expect.isFalse(mixin_extends_is_test.D_.is(c)); |
| 58 expect$.Expect.isFalse(mixin_extends_is_test.E_.is(c)); |
| 59 expect$.Expect.isFalse(mixin_extends_is_test.F_.is(c)); |
| 60 expect$.Expect.isFalse(mixin_extends_is_test.C_.is(d)); |
| 61 expect$.Expect.isFalse(mixin_extends_is_test.D_.is(d)); |
| 62 expect$.Expect.isFalse(mixin_extends_is_test.E_.is(d)); |
| 63 expect$.Expect.isFalse(mixin_extends_is_test.F_.is(d)); |
| 64 expect$.Expect.isFalse(mixin_extends_is_test.C_.is(e)); |
| 65 expect$.Expect.isFalse(mixin_extends_is_test.D_.is(e)); |
| 66 expect$.Expect.isFalse(mixin_extends_is_test.E_.is(e)); |
| 67 expect$.Expect.isFalse(mixin_extends_is_test.F_.is(e)); |
| 68 expect$.Expect.isFalse(mixin_extends_is_test.C_.is(f)); |
| 69 expect$.Expect.isFalse(mixin_extends_is_test.D_.is(f)); |
| 70 expect$.Expect.isFalse(mixin_extends_is_test.E_.is(f)); |
| 71 expect$.Expect.isFalse(mixin_extends_is_test.F_.is(f)); |
| 72 }; |
| 73 dart.fn(mixin_extends_is_test.main, VoidTodynamic()); |
| 74 // Exports: |
| 75 exports.mixin_extends_is_test = mixin_extends_is_test; |
| 76 }); |
OLD | NEW |