Commit a2ed469
authored
Fix for crash when using ca call expression on private identifier coming from an any typed variable. (GH microsoft#42860) (microsoft#42861)
1 parent d2737ec commit a2ed469Copy full SHA for a2ed469
6 files changed
+145-2Lines changed: 145 additions & 2 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- tests
- baselines/reference
- cases/conformance/classes/members/privateNames
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+10-1Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21978 | 21978 | |
21979 | 21979 | |
21980 | 21980 | |
21981 | | - |
| 21981 | + |
| 21982 | + |
| 21983 | + |
| 21984 | + |
| 21985 | + |
| 21986 | + |
| 21987 | + |
| 21988 | + |
| 21989 | + |
| 21990 | + |
21982 | 21991 | |
21983 | 21992 | |
21984 | 21993 | |
|
Collapse file
tests/baselines/reference/privateNameAndAny.errors.txt
Copy file name to clipboard+33-1Lines changed: 33 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
2 | 9 | |
3 | 10 | |
4 | | - |
| 11 | + |
5 | 12 | |
6 | 13 | |
7 | 14 | |
8 | 15 | |
9 | 16 | |
10 | 17 | |
11 | 18 | |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
12 | 44 | |
13 | 45 | |
14 | 46 | |
Collapse file
tests/baselines/reference/privateNameAndAny.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/privateNameAndAny.js+23Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
7 | 18 | |
8 | 19 | |
9 | 20 | |
| ||
24 | 35 | |
25 | 36 | |
26 | 37 | |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
27 | 50 | |
28 | 51 | |
29 | 52 | |
|
Collapse file
tests/baselines/reference/privateNameAndAny.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/privateNameAndAny.symbols+29Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
17 | 46 | |
18 | 47 | |
19 | 48 | |
Collapse file
tests/baselines/reference/privateNameAndAny.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/privateNameAndAny.types+39Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
20 | 59 | |
21 | 60 | |
22 | 61 | |
Collapse file
tests/cases/conformance/classes/members/privateNames/privateNameAndAny.ts
Copy file name to clipboardExpand all lines: tests/cases/conformance/classes/members/privateNames/privateNameAndAny.ts+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
9 | 20 | |
10 | 21 | |
0 commit comments