|
1 | | -tests/cases/compiler/capturedLetConstInLoop7.ts(230,9): error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 1 | +tests/cases/compiler/capturedLetConstInLoop7.ts(230,9): error TS2367: The types of these values indicate that this condition will always be 'false'. |
2 | 2 | Operator '==' cannot be applied to types '0' and '1'. |
3 | | -tests/cases/compiler/capturedLetConstInLoop7.ts(233,9): error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 3 | +tests/cases/compiler/capturedLetConstInLoop7.ts(233,9): error TS2367: The types of these values indicate that this condition will always be 'false'. |
4 | 4 | Operator '==' cannot be applied to types '0' and '1'. |
5 | | -tests/cases/compiler/capturedLetConstInLoop7.ts(236,9): error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 5 | +tests/cases/compiler/capturedLetConstInLoop7.ts(236,9): error TS2367: The types of these values indicate that this condition will always be 'false'. |
6 | 6 | Operator '==' cannot be applied to types '0' and '2'. |
7 | | -tests/cases/compiler/capturedLetConstInLoop7.ts(239,9): error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 7 | +tests/cases/compiler/capturedLetConstInLoop7.ts(239,9): error TS2367: The types of these values indicate that this condition will always be 'false'. |
8 | 8 | Operator '==' cannot be applied to types '0' and '2'. |
9 | | -tests/cases/compiler/capturedLetConstInLoop7.ts(305,9): error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 9 | +tests/cases/compiler/capturedLetConstInLoop7.ts(305,9): error TS2367: The types of these values indicate that this condition will always be 'false'. |
10 | 10 | Operator '==' cannot be applied to types '0' and '1'. |
11 | | -tests/cases/compiler/capturedLetConstInLoop7.ts(308,9): error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 11 | +tests/cases/compiler/capturedLetConstInLoop7.ts(308,9): error TS2367: The types of these values indicate that this condition will always be 'false'. |
12 | 12 | Operator '==' cannot be applied to types '0' and '1'. |
13 | | -tests/cases/compiler/capturedLetConstInLoop7.ts(311,9): error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 13 | +tests/cases/compiler/capturedLetConstInLoop7.ts(311,9): error TS2367: The types of these values indicate that this condition will always be 'false'. |
14 | 14 | Operator '==' cannot be applied to types '0' and '2'. |
15 | | -tests/cases/compiler/capturedLetConstInLoop7.ts(314,9): error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 15 | +tests/cases/compiler/capturedLetConstInLoop7.ts(314,9): error TS2367: The types of these values indicate that this condition will always be 'false'. |
16 | 16 | Operator '==' cannot be applied to types '0' and '2'. |
17 | 17 |
|
18 | 18 |
|
@@ -248,25 +248,25 @@ tests/cases/compiler/capturedLetConstInLoop7.ts(314,9): error TS2367: The types |
248 | 248 | (() => x); |
249 | 249 | if (x == 1) { |
250 | 250 | ~~~~~~ |
251 | | -!!! error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 251 | +!!! error TS2367: The types of these values indicate that this condition will always be 'false'. |
252 | 252 | !!! error TS2367: Operator '==' cannot be applied to types '0' and '1'. |
253 | 253 | break; |
254 | 254 | } |
255 | 255 | if (x == 1) { |
256 | 256 | ~~~~~~ |
257 | | -!!! error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 257 | +!!! error TS2367: The types of these values indicate that this condition will always be 'false'. |
258 | 258 | !!! error TS2367: Operator '==' cannot be applied to types '0' and '1'. |
259 | 259 | break l1_c; |
260 | 260 | } |
261 | 261 | if (x == 2) { |
262 | 262 | ~~~~~~ |
263 | | -!!! error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 263 | +!!! error TS2367: The types of these values indicate that this condition will always be 'false'. |
264 | 264 | !!! error TS2367: Operator '==' cannot be applied to types '0' and '2'. |
265 | 265 | continue; |
266 | 266 | } |
267 | 267 | if (x == 2) { |
268 | 268 | ~~~~~~ |
269 | | -!!! error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 269 | +!!! error TS2367: The types of these values indicate that this condition will always be 'false'. |
270 | 270 | !!! error TS2367: Operator '==' cannot be applied to types '0' and '2'. |
271 | 271 | continue l1_c; |
272 | 272 | } |
@@ -335,25 +335,25 @@ tests/cases/compiler/capturedLetConstInLoop7.ts(314,9): error TS2367: The types |
335 | 335 | (() => x + y); |
336 | 336 | if (x == 1) { |
337 | 337 | ~~~~~~ |
338 | | -!!! error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 338 | +!!! error TS2367: The types of these values indicate that this condition will always be 'false'. |
339 | 339 | !!! error TS2367: Operator '==' cannot be applied to types '0' and '1'. |
340 | 340 | break; |
341 | 341 | } |
342 | 342 | if (x == 1) { |
343 | 343 | ~~~~~~ |
344 | | -!!! error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 344 | +!!! error TS2367: The types of these values indicate that this condition will always be 'false'. |
345 | 345 | !!! error TS2367: Operator '==' cannot be applied to types '0' and '1'. |
346 | 346 | break l5_c; |
347 | 347 | } |
348 | 348 | if (x == 2) { |
349 | 349 | ~~~~~~ |
350 | | -!!! error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 350 | +!!! error TS2367: The types of these values indicate that this condition will always be 'false'. |
351 | 351 | !!! error TS2367: Operator '==' cannot be applied to types '0' and '2'. |
352 | 352 | continue; |
353 | 353 | } |
354 | 354 | if (x == 2) { |
355 | 355 | ~~~~~~ |
356 | | -!!! error TS2367: The types of these values indicates that this condition will always be 'false'. |
| 356 | +!!! error TS2367: The types of these values indicate that this condition will always be 'false'. |
357 | 357 | !!! error TS2367: Operator '==' cannot be applied to types '0' and '2'. |
358 | 358 | continue l5_c; |
359 | 359 | } |
|
0 commit comments