Commit b6d083f
committed
Do not publicly expose a way on a Program instance to get typecheckers with differing behavior.
Now, you can only get the non-diagnostics, pull-type-checker from the Program instance.
If you want diagnostics, you simply ask the Program instance for the diagnostics you want.1 parent 5b049fe commit b6d083fCopy full SHA for b6d083f
25 files changed
+2,145-69Lines changed: 2145 additions & 69 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- compiler
- harness
- services
- tests/baselines/reference
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+8-8Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
88 | 88 | |
89 | 89 | |
90 | 90 | |
91 | | - |
92 | 91 | |
93 | 92 | |
94 | 93 | |
| ||
104 | 103 | |
105 | 104 | |
106 | 105 | |
| 106 | + |
107 | 107 | |
108 | 108 | |
109 | 109 | |
110 | 110 | |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
111 | 116 | |
112 | 117 | |
113 | 118 | |
| ||
127 | 132 | |
128 | 133 | |
129 | 134 | |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
| 135 | + |
| 136 | + |
137 | 137 | |
138 | 138 | |
139 | 139 | |
|
Collapse file
+5-6Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
336 | 336 | |
337 | 337 | |
338 | 338 | |
339 | | - |
340 | 339 | |
341 | | - |
| 340 | + |
342 | 341 | |
343 | 342 | |
344 | 343 | |
| ||
367 | 366 | |
368 | 367 | |
369 | 368 | |
370 | | - |
371 | | - |
372 | | - |
373 | | - |
| 369 | + |
| 370 | + |
| 371 | + |
| 372 | + |
374 | 373 | |
375 | 374 | |
376 | 375 | |
|
Collapse file
+12-2Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
930 | 930 | |
931 | 931 | |
932 | 932 | |
| 933 | + |
933 | 934 | |
934 | 935 | |
935 | 936 | |
| ||
947 | 948 | |
948 | 949 | |
949 | 950 | |
950 | | - |
| 951 | + |
951 | 952 | |
952 | 953 | |
953 | 954 | |
954 | 955 | |
| 956 | + |
| 957 | + |
| 958 | + |
| 959 | + |
| 960 | + |
| 961 | + |
| 962 | + |
| 963 | + |
| 964 | + |
955 | 965 | |
956 | 966 | |
957 | 967 | |
| ||
1000 | 1010 | |
1001 | 1011 | |
1002 | 1012 | |
1003 | | - |
1004 | 1013 | |
1005 | 1014 | |
1006 | 1015 | |
| ||
1033 | 1042 | |
1034 | 1043 | |
1035 | 1044 | |
| 1045 | + |
1036 | 1046 | |
1037 | 1047 | |
1038 | 1048 | |
|
Collapse file
src/harness/compilerRunner.ts
Copy file name to clipboardExpand all lines: src/harness/compilerRunner.ts+32-3Lines changed: 32 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
256 | 256 | |
257 | 257 | |
258 | 258 | |
259 | | - |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
| 277 | + |
| 278 | + |
| 279 | + |
| 280 | + |
| 281 | + |
| 282 | + |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
260 | 289 | |
261 | 290 | |
262 | 291 | |
263 | | - |
| 292 | + |
264 | 293 | |
265 | 294 | |
266 | 295 | |
| ||
299 | 328 | |
300 | 329 | |
301 | 330 | |
302 | | - |
| 331 | + |
303 | 332 | |
304 | 333 | |
305 | 334 | |
|
Collapse file
+1-3Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1081 | 1081 | |
1082 | 1082 | |
1083 | 1083 | |
1084 | | - |
1085 | | - |
1086 | 1084 | |
1087 | 1085 | |
1088 | 1086 | |
| ||
1092 | 1090 | |
1093 | 1091 | |
1094 | 1092 | |
1095 | | - |
| 1093 | + |
1096 | 1094 | |
1097 | 1095 | |
1098 | 1096 | |
|
Collapse file
src/harness/projectsRunner.ts
Copy file name to clipboardExpand all lines: src/harness/projectsRunner.ts+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
130 | 130 | |
131 | 131 | |
132 | 132 | |
133 | | - |
134 | | - |
| 133 | + |
135 | 134 | |
136 | 135 | |
137 | 136 | |
|
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | | - |
| 18 | + |
| 19 | + |
| 20 | + |
19 | 21 | |
20 | 22 | |
21 | 23 | |
|
Collapse file
+3-7Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2024 | 2024 | |
2025 | 2025 | |
2026 | 2026 | |
2027 | | - |
2028 | | - |
2029 | | - |
2030 | | - |
2031 | 2027 | |
2032 | 2028 | |
2033 | 2029 | |
| ||
2076 | 2072 | |
2077 | 2073 | |
2078 | 2074 | |
2079 | | - |
| 2075 | + |
2080 | 2076 | |
2081 | 2077 | |
2082 | 2078 | |
| ||
2155 | 2151 | |
2156 | 2152 | |
2157 | 2153 | |
2158 | | - |
| 2154 | + |
2159 | 2155 | |
2160 | 2156 | |
2161 | 2157 | |
| ||
4673 | 4669 | |
4674 | 4670 | |
4675 | 4671 | |
4676 | | - |
| 4672 | + |
4677 | 4673 | |
4678 | 4674 | |
4679 | 4675 | |
|
Collapse file
tests/baselines/reference/APISample_compile.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/APISample_compile.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
740 | 740 | |
741 | 741 | |
742 | 742 | |
| 743 | + |
743 | 744 | |
744 | 745 | |
745 | 746 | |
746 | 747 | |
747 | 748 | |
748 | | - |
| 749 | + |
749 | 750 | |
750 | 751 | |
751 | 752 | |
| ||
789 | 790 | |
790 | 791 | |
791 | 792 | |
792 | | - |
793 | 793 | |
794 | 794 | |
795 | 795 | |
|
Collapse file
tests/baselines/reference/APISample_compile.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/APISample_compile.types+6-7Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2253 | 2253 | |
2254 | 2254 | |
2255 | 2255 | |
| 2256 | + |
| 2257 | + |
| 2258 | + |
| 2259 | + |
2256 | 2260 | |
2257 | 2261 | |
2258 | 2262 | |
| ||
2279 | 2283 | |
2280 | 2284 | |
2281 | 2285 | |
2282 | | - |
2283 | | - |
2284 | | - |
| 2286 | + |
| 2287 | + |
2285 | 2288 | |
2286 | 2289 | |
2287 | 2290 | |
| ||
2409 | 2412 | |
2410 | 2413 | |
2411 | 2414 | |
2412 | | - |
2413 | | - |
2414 | | - |
2415 | | - |
2416 | 2415 | |
2417 | 2416 | |
2418 | 2417 | |
|
0 commit comments