Commit fd0fd36
committed
Disallow destructuring in 'for...in'
1 parent 84a22be commit fd0fd36Copy full SHA for fd0fd36
17 files changed
+78-5Lines changed: 78 additions & 5 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- tests
- baselines/reference
- cases/conformance/statements/for-inStatements
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+9-1Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8806 | 8806 | |
8807 | 8807 | |
8808 | 8808 | |
| 8809 | + |
| 8810 | + |
| 8811 | + |
| 8812 | + |
| 8813 | + |
8809 | 8814 | |
8810 | 8815 | |
8811 | 8816 | |
| ||
8815 | 8820 | |
8816 | 8821 | |
8817 | 8822 | |
8818 | | - |
| 8823 | + |
| 8824 | + |
| 8825 | + |
| 8826 | + |
8819 | 8827 | |
8820 | 8828 | |
8821 | 8829 | |
|
Collapse file
src/compiler/diagnosticInformationMap.generated.ts
Copy file name to clipboardExpand all lines: src/compiler/diagnosticInformationMap.generated.ts+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
332 | 332 | |
333 | 333 | |
334 | 334 | |
| 335 | + |
335 | 336 | |
336 | 337 | |
337 | 338 | |
|
Collapse file
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1320 | 1320 | |
1321 | 1321 | |
1322 | 1322 | |
| 1323 | + |
| 1324 | + |
| 1325 | + |
| 1326 | + |
1323 | 1327 | |
1324 | 1328 | |
1325 | 1329 | |
| ||
1596 | 1600 | |
1597 | 1601 | |
1598 | 1602 | |
1599 | | - |
| 1603 | + |
1600 | 1604 | |
1601 | 1605 | |
1602 | 1606 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
665 | 665 | |
666 | 666 | |
667 | 667 | |
668 | | - |
| 668 | + |
669 | 669 | |
670 | 670 | |
671 | 671 | |
|
Collapse file
tests/baselines/reference/for-inStatementsDestructuring.errors.txt
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
Collapse file
tests/baselines/reference/for-inStatementsDestructuring.js
Copy file name to clipboard+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
Collapse file
tests/baselines/reference/for-inStatementsDestructuring2.errors.txt
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
Collapse file
tests/baselines/reference/for-inStatementsDestructuring2.js
Copy file name to clipboard+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
Collapse file
tests/baselines/reference/for-inStatementsDestructuring3.errors.txt
Copy file name to clipboard+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
Collapse file
tests/baselines/reference/for-inStatementsDestructuring3.js
Copy file name to clipboard+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
0 commit comments