Commit 36c5803
authored
Fix duplicate identifier error with module.exports (microsoft#24466)
A bug in checkSpecialAssignment added bogus duplicate identifier errors
when using module.exports assignment to export a class. This commit
fixes that.1 parent 15bfaf1 commit 36c5803
4 files changed
Lines changed: 42 additions & 1 deletion
File tree
- src/compiler
- tests
- baselines/reference
- cases/conformance/salsa
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20428 | 20428 | | |
20429 | 20429 | | |
20430 | 20430 | | |
20431 | | - | |
| 20431 | + | |
20432 | 20432 | | |
20433 | 20433 | | |
20434 | 20434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments