1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
//// [compoundArithmeticAssignmentWithInvalidOperands.ts]
enum E { a, b }
var a: any;
var b: void;
var x1: boolean;
x1 *= a;
x1 *= b;
x1 *= true;
x1 *= 0;
x1 *= ''
x1 *= E.a;
x1 *= {};
x1 *= null;
x1 *= undefined;
var x2: string;
x2 *= a;
x2 *= b;
x2 *= true;
x2 *= 0;
x2 *= ''
x2 *= E.a;
x2 *= {};
x2 *= null;
x2 *= undefined;
var x3: {};
x3 *= a;
x3 *= b;
x3 *= true;
x3 *= 0;
x3 *= ''
x3 *= E.a;
x3 *= {};
x3 *= null;
x3 *= undefined;
var x4: void;
x4 *= a;
x4 *= b;
x4 *= true;
x4 *= 0;
x4 *= ''
x4 *= E.a;
x4 *= {};
x4 *= null;
x4 *= undefined;
var x5: number;
x5 *= b;
x5 *= true;
x5 *= ''
x5 *= {};
var x6: E;
x6 *= b;
x6 *= true;
x6 *= ''
x6 *= {};
//// [compoundArithmeticAssignmentWithInvalidOperands.js]
var E;
(function (E) {
E[E["a"] = 0] = "a";
E[E["b"] = 1] = "b";
})(E || (E = {}));
var a;
var b;
var x1;
x1 *= a;
x1 *= b;
x1 *= true;
x1 *= 0;
x1 *= '';
x1 *= E.a;
x1 *= {};
x1 *= null;
x1 *= undefined;
var x2;
x2 *= a;
x2 *= b;
x2 *= true;
x2 *= 0;
x2 *= '';
x2 *= E.a;
x2 *= {};
x2 *= null;
x2 *= undefined;
var x3;
x3 *= a;
x3 *= b;
x3 *= true;
x3 *= 0;
x3 *= '';
x3 *= E.a;
x3 *= {};
x3 *= null;
x3 *= undefined;
var x4;
x4 *= a;
x4 *= b;
x4 *= true;
x4 *= 0;
x4 *= '';
x4 *= E.a;
x4 *= {};
x4 *= null;
x4 *= undefined;
var x5;
x5 *= b;
x5 *= true;
x5 *= '';
x5 *= {};
var x6;
x6 *= b;
x6 *= true;
x6 *= '';
x6 *= {};
|