Commit 1cbbe28
authored
Treat any mix of element/prop access as declaration in JS (microsoft#34649)
Fixes microsoft#34642 but, notably, doesn't actually make the assignment into a
working declaration. It just fixes the crash.1 parent 159b626 commit 1cbbe28
File tree
5 files changed
+50
-8
lines changed- src/compiler
- tests
- baselines/reference
- cases/conformance/salsa
5 files changed
+50
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2061 | 2061 | | |
2062 | 2062 | | |
2063 | 2063 | | |
2064 | | - | |
2065 | | - | |
2066 | | - | |
2067 | | - | |
2068 | | - | |
2069 | | - | |
2070 | | - | |
| 2064 | + | |
2071 | 2065 | | |
2072 | 2066 | | |
2073 | 2067 | | |
2074 | 2068 | | |
| 2069 | + | |
2075 | 2070 | | |
2076 | 2071 | | |
2077 | 2072 | | |
2078 | 2073 | | |
2079 | 2074 | | |
2080 | 2075 | | |
| 2076 | + | |
2081 | 2077 | | |
2082 | 2078 | | |
2083 | | - | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
2084 | 2088 | | |
2085 | 2089 | | |
2086 | 2090 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
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: 17 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 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments