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 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289
|
=== tests/cases/conformance/es6/templates/templateStringBinaryOperationsES6Invalid.ts ===
var a = 1 - `${ 3 }`;
>a : Symbol(a, Decl(templateStringBinaryOperationsES6Invalid.ts, 0, 3))
var b = 1 - `2${ 3 }`;
>b : Symbol(b, Decl(templateStringBinaryOperationsES6Invalid.ts, 1, 3))
var c = 1 - `${ 3 }4`;
>c : Symbol(c, Decl(templateStringBinaryOperationsES6Invalid.ts, 2, 3))
var d = 1 - `2${ 3 }4`;
>d : Symbol(d, Decl(templateStringBinaryOperationsES6Invalid.ts, 3, 3))
var e = `${ 3 }` - 5;
>e : Symbol(e, Decl(templateStringBinaryOperationsES6Invalid.ts, 4, 3))
var f = `2${ 3 }` - 5;
>f : Symbol(f, Decl(templateStringBinaryOperationsES6Invalid.ts, 5, 3))
var g = `${ 3 }4` - 5;
>g : Symbol(g, Decl(templateStringBinaryOperationsES6Invalid.ts, 6, 3))
var h = `2${ 3 }4` - 5;
>h : Symbol(h, Decl(templateStringBinaryOperationsES6Invalid.ts, 7, 3))
var a2 = 1 * `${ 3 }`;
>a2 : Symbol(a2, Decl(templateStringBinaryOperationsES6Invalid.ts, 9, 3))
var b2 = 1 * `2${ 3 }`;
>b2 : Symbol(b2, Decl(templateStringBinaryOperationsES6Invalid.ts, 10, 3))
var c2 = 1 * `${ 3 }4`;
>c2 : Symbol(c2, Decl(templateStringBinaryOperationsES6Invalid.ts, 11, 3))
var d2 = 1 * `2${ 3 }4`;
>d2 : Symbol(d2, Decl(templateStringBinaryOperationsES6Invalid.ts, 12, 3))
var e2 = `${ 3 }` * 5;
>e2 : Symbol(e2, Decl(templateStringBinaryOperationsES6Invalid.ts, 13, 3))
var f2 = `2${ 3 }` * 5;
>f2 : Symbol(f2, Decl(templateStringBinaryOperationsES6Invalid.ts, 14, 3))
var g2 = `${ 3 }4` * 5;
>g2 : Symbol(g2, Decl(templateStringBinaryOperationsES6Invalid.ts, 15, 3))
var h2 = `2${ 3 }4` * 5;
>h2 : Symbol(h2, Decl(templateStringBinaryOperationsES6Invalid.ts, 16, 3))
var a3 = 1 & `${ 3 }`;
>a3 : Symbol(a3, Decl(templateStringBinaryOperationsES6Invalid.ts, 18, 3))
var b3 = 1 & `2${ 3 }`;
>b3 : Symbol(b3, Decl(templateStringBinaryOperationsES6Invalid.ts, 19, 3))
var c3 = 1 & `${ 3 }4`;
>c3 : Symbol(c3, Decl(templateStringBinaryOperationsES6Invalid.ts, 20, 3))
var d3 = 1 & `2${ 3 }4`;
>d3 : Symbol(d3, Decl(templateStringBinaryOperationsES6Invalid.ts, 21, 3))
var e3 = `${ 3 }` & 5;
>e3 : Symbol(e3, Decl(templateStringBinaryOperationsES6Invalid.ts, 22, 3))
var f3 = `2${ 3 }` & 5;
>f3 : Symbol(f3, Decl(templateStringBinaryOperationsES6Invalid.ts, 23, 3))
var g3 = `${ 3 }4` & 5;
>g3 : Symbol(g3, Decl(templateStringBinaryOperationsES6Invalid.ts, 24, 3))
var h3 = `2${ 3 }4` & 5;
>h3 : Symbol(h3, Decl(templateStringBinaryOperationsES6Invalid.ts, 25, 3))
var a4 = 1 - `${ 3 - 4 }`;
>a4 : Symbol(a4, Decl(templateStringBinaryOperationsES6Invalid.ts, 27, 3))
var b4 = 1 - `2${ 3 - 4 }`;
>b4 : Symbol(b4, Decl(templateStringBinaryOperationsES6Invalid.ts, 28, 3))
var c4 = 1 - `${ 3 - 4 }5`;
>c4 : Symbol(c4, Decl(templateStringBinaryOperationsES6Invalid.ts, 29, 3))
var d4 = 1 - `2${ 3 - 4 }5`;
>d4 : Symbol(d4, Decl(templateStringBinaryOperationsES6Invalid.ts, 30, 3))
var e4 = `${ 3 - 4 }` - 6;
>e4 : Symbol(e4, Decl(templateStringBinaryOperationsES6Invalid.ts, 31, 3))
var f4 = `2${ 3 - 4 }` - 6;
>f4 : Symbol(f4, Decl(templateStringBinaryOperationsES6Invalid.ts, 32, 3))
var g4 = `${ 3 - 4 }5` - 6;
>g4 : Symbol(g4, Decl(templateStringBinaryOperationsES6Invalid.ts, 33, 3))
var h4 = `2${ 3 - 4 }5` - 6;
>h4 : Symbol(h4, Decl(templateStringBinaryOperationsES6Invalid.ts, 34, 3))
var a5 = 1 - `${ 3 * 4 }`;
>a5 : Symbol(a5, Decl(templateStringBinaryOperationsES6Invalid.ts, 36, 3))
var b5 = 1 - `2${ 3 * 4 }`;
>b5 : Symbol(b5, Decl(templateStringBinaryOperationsES6Invalid.ts, 37, 3))
var c5 = 1 - `${ 3 * 4 }5`;
>c5 : Symbol(c5, Decl(templateStringBinaryOperationsES6Invalid.ts, 38, 3))
var d5 = 1 - `2${ 3 * 4 }5`;
>d5 : Symbol(d5, Decl(templateStringBinaryOperationsES6Invalid.ts, 39, 3))
var e5 = `${ 3 * 4 }` - 6;
>e5 : Symbol(e5, Decl(templateStringBinaryOperationsES6Invalid.ts, 40, 3))
var f5 = `2${ 3 * 4 }` - 6;
>f5 : Symbol(f5, Decl(templateStringBinaryOperationsES6Invalid.ts, 41, 3))
var g5 = `${ 3 * 4 }5` - 6;
>g5 : Symbol(g5, Decl(templateStringBinaryOperationsES6Invalid.ts, 42, 3))
var h5 = `2${ 3 * 4 }5` - 6;
>h5 : Symbol(h5, Decl(templateStringBinaryOperationsES6Invalid.ts, 43, 3))
var a6 = 1 - `${ 3 & 4 }`;
>a6 : Symbol(a6, Decl(templateStringBinaryOperationsES6Invalid.ts, 45, 3))
var b6 = 1 - `2${ 3 & 4 }`;
>b6 : Symbol(b6, Decl(templateStringBinaryOperationsES6Invalid.ts, 46, 3))
var c6 = 1 - `${ 3 & 4 }5`;
>c6 : Symbol(c6, Decl(templateStringBinaryOperationsES6Invalid.ts, 47, 3))
var d6 = 1 - `2${ 3 & 4 }5`;
>d6 : Symbol(d6, Decl(templateStringBinaryOperationsES6Invalid.ts, 48, 3))
var e6 = `${ 3 & 4 }` - 6;
>e6 : Symbol(e6, Decl(templateStringBinaryOperationsES6Invalid.ts, 49, 3))
var f6 = `2${ 3 & 4 }` - 6;
>f6 : Symbol(f6, Decl(templateStringBinaryOperationsES6Invalid.ts, 50, 3))
var g6 = `${ 3 & 4 }5` - 6;
>g6 : Symbol(g6, Decl(templateStringBinaryOperationsES6Invalid.ts, 51, 3))
var h6 = `2${ 3 & 4 }5` - 6;
>h6 : Symbol(h6, Decl(templateStringBinaryOperationsES6Invalid.ts, 52, 3))
var a7 = 1 * `${ 3 - 4 }`;
>a7 : Symbol(a7, Decl(templateStringBinaryOperationsES6Invalid.ts, 54, 3))
var b7 = 1 * `2${ 3 - 4 }`;
>b7 : Symbol(b7, Decl(templateStringBinaryOperationsES6Invalid.ts, 55, 3))
var c7 = 1 * `${ 3 - 4 }5`;
>c7 : Symbol(c7, Decl(templateStringBinaryOperationsES6Invalid.ts, 56, 3))
var d7 = 1 * `2${ 3 - 4 }5`;
>d7 : Symbol(d7, Decl(templateStringBinaryOperationsES6Invalid.ts, 57, 3))
var e7 = `${ 3 - 4 }` * 6;
>e7 : Symbol(e7, Decl(templateStringBinaryOperationsES6Invalid.ts, 58, 3))
var f7 = `2${ 3 - 4 }` * 6;
>f7 : Symbol(f7, Decl(templateStringBinaryOperationsES6Invalid.ts, 59, 3))
var g7 = `${ 3 - 4 }5` * 6;
>g7 : Symbol(g7, Decl(templateStringBinaryOperationsES6Invalid.ts, 60, 3))
var h7 = `2${ 3 - 4 }5` * 6;
>h7 : Symbol(h7, Decl(templateStringBinaryOperationsES6Invalid.ts, 61, 3))
var a8 = 1 * `${ 3 * 4 }`;
>a8 : Symbol(a8, Decl(templateStringBinaryOperationsES6Invalid.ts, 63, 3))
var b8 = 1 * `2${ 3 * 4 }`;
>b8 : Symbol(b8, Decl(templateStringBinaryOperationsES6Invalid.ts, 64, 3))
var c8 = 1 * `${ 3 * 4 }5`;
>c8 : Symbol(c8, Decl(templateStringBinaryOperationsES6Invalid.ts, 65, 3))
var d8 = 1 * `2${ 3 * 4 }5`;
>d8 : Symbol(d8, Decl(templateStringBinaryOperationsES6Invalid.ts, 66, 3))
var e8 = `${ 3 * 4 }` * 6;
>e8 : Symbol(e8, Decl(templateStringBinaryOperationsES6Invalid.ts, 67, 3))
var f8 = `2${ 3 * 4 }` * 6;
>f8 : Symbol(f8, Decl(templateStringBinaryOperationsES6Invalid.ts, 68, 3))
var g8 = `${ 3 * 4 }5` * 6;
>g8 : Symbol(g8, Decl(templateStringBinaryOperationsES6Invalid.ts, 69, 3))
var h8 = `2${ 3 * 4 }5` * 6;
>h8 : Symbol(h8, Decl(templateStringBinaryOperationsES6Invalid.ts, 70, 3))
var a9 = 1 * `${ 3 & 4 }`;
>a9 : Symbol(a9, Decl(templateStringBinaryOperationsES6Invalid.ts, 72, 3))
var b9 = 1 * `2${ 3 & 4 }`;
>b9 : Symbol(b9, Decl(templateStringBinaryOperationsES6Invalid.ts, 73, 3))
var c9 = 1 * `${ 3 & 4 }5`;
>c9 : Symbol(c9, Decl(templateStringBinaryOperationsES6Invalid.ts, 74, 3))
var d9 = 1 * `2${ 3 & 4 }5`;
>d9 : Symbol(d9, Decl(templateStringBinaryOperationsES6Invalid.ts, 75, 3))
var e9 = `${ 3 & 4 }` * 6;
>e9 : Symbol(e9, Decl(templateStringBinaryOperationsES6Invalid.ts, 76, 3))
var f9 = `2${ 3 & 4 }` * 6;
>f9 : Symbol(f9, Decl(templateStringBinaryOperationsES6Invalid.ts, 77, 3))
var g9 = `${ 3 & 4 }5` * 6;
>g9 : Symbol(g9, Decl(templateStringBinaryOperationsES6Invalid.ts, 78, 3))
var h9 = `2${ 3 & 4 }5` * 6;
>h9 : Symbol(h9, Decl(templateStringBinaryOperationsES6Invalid.ts, 79, 3))
var aa = 1 & `${ 3 - 4 }`;
>aa : Symbol(aa, Decl(templateStringBinaryOperationsES6Invalid.ts, 81, 3))
var ba = 1 & `2${ 3 - 4 }`;
>ba : Symbol(ba, Decl(templateStringBinaryOperationsES6Invalid.ts, 82, 3))
var ca = 1 & `${ 3 - 4 }5`;
>ca : Symbol(ca, Decl(templateStringBinaryOperationsES6Invalid.ts, 83, 3))
var da = 1 & `2${ 3 - 4 }5`;
>da : Symbol(da, Decl(templateStringBinaryOperationsES6Invalid.ts, 84, 3))
var ea = `${ 3 - 4 }` & 6;
>ea : Symbol(ea, Decl(templateStringBinaryOperationsES6Invalid.ts, 85, 3))
var fa = `2${ 3 - 4 }` & 6;
>fa : Symbol(fa, Decl(templateStringBinaryOperationsES6Invalid.ts, 86, 3))
var ga = `${ 3 - 4 }5` & 6;
>ga : Symbol(ga, Decl(templateStringBinaryOperationsES6Invalid.ts, 87, 3))
var ha = `2${ 3 - 4 }5` & 6;
>ha : Symbol(ha, Decl(templateStringBinaryOperationsES6Invalid.ts, 88, 3))
var ab = 1 & `${ 3 * 4 }`;
>ab : Symbol(ab, Decl(templateStringBinaryOperationsES6Invalid.ts, 90, 3))
var bb = 1 & `2${ 3 * 4 }`;
>bb : Symbol(bb, Decl(templateStringBinaryOperationsES6Invalid.ts, 91, 3))
var cb = 1 & `${ 3 * 4 }5`;
>cb : Symbol(cb, Decl(templateStringBinaryOperationsES6Invalid.ts, 92, 3))
var db = 1 & `2${ 3 * 4 }5`;
>db : Symbol(db, Decl(templateStringBinaryOperationsES6Invalid.ts, 93, 3))
var eb = `${ 3 * 4 }` & 6;
>eb : Symbol(eb, Decl(templateStringBinaryOperationsES6Invalid.ts, 94, 3))
var fb = `2${ 3 * 4 }` & 6;
>fb : Symbol(fb, Decl(templateStringBinaryOperationsES6Invalid.ts, 95, 3))
var gb = `${ 3 * 4 }5` & 6;
>gb : Symbol(gb, Decl(templateStringBinaryOperationsES6Invalid.ts, 96, 3))
var hb = `2${ 3 * 4 }5` & 6;
>hb : Symbol(hb, Decl(templateStringBinaryOperationsES6Invalid.ts, 97, 3))
var ac = 1 & `${ 3 & 4 }`;
>ac : Symbol(ac, Decl(templateStringBinaryOperationsES6Invalid.ts, 99, 3))
var bc = 1 & `2${ 3 & 4 }`;
>bc : Symbol(bc, Decl(templateStringBinaryOperationsES6Invalid.ts, 100, 3))
var cc = 1 & `${ 3 & 4 }5`;
>cc : Symbol(cc, Decl(templateStringBinaryOperationsES6Invalid.ts, 101, 3))
var dc = 1 & `2${ 3 & 4 }5`;
>dc : Symbol(dc, Decl(templateStringBinaryOperationsES6Invalid.ts, 102, 3))
var ec = `${ 3 & 4 }` & 6;
>ec : Symbol(ec, Decl(templateStringBinaryOperationsES6Invalid.ts, 103, 3))
var fc = `2${ 3 & 4 }` & 6;
>fc : Symbol(fc, Decl(templateStringBinaryOperationsES6Invalid.ts, 104, 3))
var gc = `${ 3 & 4 }5` & 6;
>gc : Symbol(gc, Decl(templateStringBinaryOperationsES6Invalid.ts, 105, 3))
var hc = `2${ 3 & 4 }5` & 6;
>hc : Symbol(hc, Decl(templateStringBinaryOperationsES6Invalid.ts, 106, 3))
|