Commit 366e9de
authored
Fix compiler crash on property symbols without declarations (microsoft#45190)
* don't track computed name if symbol has no declaration
* add compiler test
* add non serializable property declaration emit error
* don't track computed name if symbol has no declaration
* fix small stuff
* rebase: add non serializable property declaration emit error
* use symbolToString instead of symbolName1 parent 6277305 commit 366e9de
File tree
14 files changed
+114
-10
lines changed- src/compiler
- transformers
- tests
- baselines/reference
- cases/compiler
14 files changed
+114
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4536 | 4536 | | |
4537 | 4537 | | |
4538 | 4538 | | |
| 4539 | + | |
4539 | 4540 | | |
4540 | 4541 | | |
4541 | 4542 | | |
| |||
5243 | 5244 | | |
5244 | 5245 | | |
5245 | 5246 | | |
5246 | | - | |
5247 | | - | |
5248 | | - | |
5249 | | - | |
5250 | | - | |
5251 | | - | |
| 5247 | + | |
| 5248 | + | |
| 5249 | + | |
| 5250 | + | |
| 5251 | + | |
| 5252 | + | |
| 5253 | + | |
| 5254 | + | |
| 5255 | + | |
| 5256 | + | |
| 5257 | + | |
5252 | 5258 | | |
5253 | 5259 | | |
5254 | | - | |
5255 | | - | |
5256 | | - | |
| 5260 | + | |
| 5261 | + | |
| 5262 | + | |
5257 | 5263 | | |
5258 | 5264 | | |
5259 | 5265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3801 | 3801 | | |
3802 | 3802 | | |
3803 | 3803 | | |
| 3804 | + | |
| 3805 | + | |
| 3806 | + | |
| 3807 | + | |
3804 | 3808 | | |
3805 | 3809 | | |
3806 | 3810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
231 | 238 | | |
232 | 239 | | |
233 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8238 | 8238 | | |
8239 | 8239 | | |
8240 | 8240 | | |
| 8241 | + | |
8241 | 8242 | | |
8242 | 8243 | | |
8243 | 8244 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 15 additions & 0 deletions
| 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 | + | |
0 commit comments