Commit 7cb2a64
committed
Disallow type annotation on a for-of variable
1 parent 147cc20 commit 7cb2a64
6 files changed
Lines changed: 26 additions & 12 deletions
File tree
- src/compiler
- tests/baselines/reference
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8467 | 8467 | | |
8468 | 8468 | | |
8469 | 8469 | | |
8470 | | - | |
8471 | | - | |
8472 | | - | |
8473 | 8470 | | |
8474 | 8471 | | |
8475 | 8472 | | |
| |||
10769 | 10766 | | |
10770 | 10767 | | |
10771 | 10768 | | |
10772 | | - | |
| 10769 | + | |
| 10770 | + | |
10773 | 10771 | | |
10774 | 10772 | | |
10775 | 10773 | | |
10776 | | - | |
| 10774 | + | |
| 10775 | + | |
| 10776 | + | |
| 10777 | + | |
| 10778 | + | |
| 10779 | + | |
| 10780 | + | |
10777 | 10781 | | |
10778 | 10782 | | |
10779 | 10783 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1260 | 1260 | | |
1261 | 1261 | | |
1262 | 1262 | | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
1263 | 1267 | | |
1264 | 1268 | | |
1265 | 1269 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments