Commit 5888804
authored
Merge pull request microsoft#16305 from Microsoft/contextualGenericTypes
Contextual generic function types13 files changed
+953-50Lines changed: 953 additions & 50 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- tests
- baselines/reference
- cases
- conformance/types/typeRelationships/typeInference
- fourslash
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+22-12Lines changed: 22 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10261 | 10261 | |
10262 | 10262 | |
10263 | 10263 | |
10264 | | - |
| 10264 | + |
10265 | 10265 | |
10266 | 10266 | |
10267 | 10267 | |
| ||
13066 | 13066 | |
13067 | 13067 | |
13068 | 13068 | |
13069 | | - |
13070 | | - |
13071 | | - |
| 13069 | + |
| 13070 | + |
| 13071 | + |
13072 | 13072 | |
13073 | 13073 | |
13074 | 13074 | |
13075 | | - |
| 13075 | + |
13076 | 13076 | |
13077 | 13077 | |
13078 | 13078 | |
| ||
13123 | 13123 | |
13124 | 13124 | |
13125 | 13125 | |
13126 | | - |
| 13126 | + |
13127 | 13127 | |
13128 | 13128 | |
13129 | 13129 | |
13130 | 13130 | |
13131 | | - |
| 13131 | + |
13132 | 13132 | |
13133 | 13133 | |
13134 | 13134 | |
| ||
14988 | 14988 | |
14989 | 14989 | |
14990 | 14990 | |
14991 | | - |
14992 | | - |
14993 | | - |
14994 | | - |
14995 | | - |
| 14991 | + |
| 14992 | + |
| 14993 | + |
| 14994 | + |
| 14995 | + |
| 14996 | + |
| 14997 | + |
| 14998 | + |
| 14999 | + |
| 15000 | + |
| 15001 | + |
| 15002 | + |
| 15003 | + |
| 15004 | + |
| 15005 | + |
14996 | 15006 | |
14997 | 15007 | |
14998 | 15008 | |
|
Collapse file
tests/baselines/reference/contextualTypingWithGenericSignature.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/contextualTypingWithGenericSignature.types+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
25 | 25 | |
Collapse file
tests/baselines/reference/genericContextualTypes1.js
Copy file name to clipboard+107Lines changed: 107 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 | + |
| 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 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
0 commit comments