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 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
|
=== tests/cases/conformance/expressions/assignmentOperator/compoundArithmeticAssignmentWithInvalidOperands.ts ===
enum E { a, b }
>E : Symbol(E, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 0))
>a : Symbol(E.a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 8))
>b : Symbol(E.b, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 11))
var a: any;
>a : Symbol(a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 2, 3))
var b: void;
>b : Symbol(b, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 3, 3))
var x1: boolean;
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
x1 *= a;
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
>a : Symbol(a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 2, 3))
x1 *= b;
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
>b : Symbol(b, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 3, 3))
x1 *= true;
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
x1 *= 0;
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
x1 *= ''
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
x1 *= E.a;
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
>E.a : Symbol(E.a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 8))
>E : Symbol(E, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 0))
>a : Symbol(E.a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 8))
x1 *= {};
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
x1 *= null;
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
x1 *= undefined;
>x1 : Symbol(x1, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 5, 3))
>undefined : Symbol(undefined)
var x2: string;
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
x2 *= a;
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
>a : Symbol(a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 2, 3))
x2 *= b;
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
>b : Symbol(b, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 3, 3))
x2 *= true;
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
x2 *= 0;
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
x2 *= ''
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
x2 *= E.a;
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
>E.a : Symbol(E.a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 8))
>E : Symbol(E, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 0))
>a : Symbol(E.a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 8))
x2 *= {};
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
x2 *= null;
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
x2 *= undefined;
>x2 : Symbol(x2, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 16, 3))
>undefined : Symbol(undefined)
var x3: {};
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
x3 *= a;
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
>a : Symbol(a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 2, 3))
x3 *= b;
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
>b : Symbol(b, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 3, 3))
x3 *= true;
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
x3 *= 0;
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
x3 *= ''
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
x3 *= E.a;
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
>E.a : Symbol(E.a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 8))
>E : Symbol(E, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 0))
>a : Symbol(E.a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 8))
x3 *= {};
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
x3 *= null;
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
x3 *= undefined;
>x3 : Symbol(x3, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 27, 3))
>undefined : Symbol(undefined)
var x4: void;
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
x4 *= a;
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
>a : Symbol(a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 2, 3))
x4 *= b;
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
>b : Symbol(b, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 3, 3))
x4 *= true;
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
x4 *= 0;
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
x4 *= ''
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
x4 *= E.a;
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
>E.a : Symbol(E.a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 8))
>E : Symbol(E, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 0))
>a : Symbol(E.a, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 8))
x4 *= {};
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
x4 *= null;
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
x4 *= undefined;
>x4 : Symbol(x4, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 38, 3))
>undefined : Symbol(undefined)
var x5: number;
>x5 : Symbol(x5, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 49, 3))
x5 *= b;
>x5 : Symbol(x5, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 49, 3))
>b : Symbol(b, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 3, 3))
x5 *= true;
>x5 : Symbol(x5, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 49, 3))
x5 *= ''
>x5 : Symbol(x5, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 49, 3))
x5 *= {};
>x5 : Symbol(x5, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 49, 3))
var x6: E;
>x6 : Symbol(x6, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 55, 3))
>E : Symbol(E, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 0, 0))
x6 *= b;
>x6 : Symbol(x6, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 55, 3))
>b : Symbol(b, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 3, 3))
x6 *= true;
>x6 : Symbol(x6, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 55, 3))
x6 *= ''
>x6 : Symbol(x6, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 55, 3))
x6 *= {};
>x6 : Symbol(x6, Decl(compoundArithmeticAssignmentWithInvalidOperands.ts, 55, 3))
|