Commit e5f6ed0
authored
Merge pull request microsoft#22707 from Microsoft/fixIndexedAccessInConditionalType
Fix indexed access in conditional type9 files changed
+629-381Lines changed: 629 additions & 381 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/compiler
- tests
- baselines/reference
- api
- cases/conformance/types/conditional
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+32-15Lines changed: 32 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3040 | 3040 | |
3041 | 3041 | |
3042 | 3042 | |
3043 | | - |
| 3043 | + |
3044 | 3044 | |
3045 | 3045 | |
3046 | 3046 | |
| ||
7305 | 7305 | |
7306 | 7306 | |
7307 | 7307 | |
7308 | | - |
| 7308 | + |
7309 | 7309 | |
7310 | 7310 | |
7311 | 7311 | |
| ||
7344 | 7344 | |
7345 | 7345 | |
7346 | 7346 | |
7347 | | - |
| 7347 | + |
7348 | 7348 | |
7349 | | - |
| 7349 | + |
7350 | 7350 | |
7351 | 7351 | |
7352 | 7352 | |
7353 | 7353 | |
7354 | | - |
| 7354 | + |
| 7355 | + |
| 7356 | + |
| 7357 | + |
| 7358 | + |
| 7359 | + |
| 7360 | + |
| 7361 | + |
| 7362 | + |
| 7363 | + |
| 7364 | + |
7355 | 7365 | |
7356 | 7366 | |
7357 | 7367 | |
7358 | 7368 | |
7359 | | - |
7360 | | - |
| 7369 | + |
| 7370 | + |
| 7371 | + |
7361 | 7372 | |
7362 | 7373 | |
7363 | 7374 | |
7364 | 7375 | |
7365 | | - |
| 7376 | + |
7366 | 7377 | |
7367 | 7378 | |
7368 | 7379 | |
| ||
8258 | 8269 | |
8259 | 8270 | |
8260 | 8271 | |
8261 | | - |
| 8272 | + |
| 8273 | + |
| 8274 | + |
| 8275 | + |
| 8276 | + |
| 8277 | + |
| 8278 | + |
8262 | 8279 | |
8263 | 8280 | |
8264 | 8281 | |
| ||
8278 | 8295 | |
8279 | 8296 | |
8280 | 8297 | |
8281 | | - |
8282 | | - |
| 8298 | + |
| 8299 | + |
8283 | 8300 | |
8284 | 8301 | |
8285 | 8302 | |
| ||
8323 | 8340 | |
8324 | 8341 | |
8325 | 8342 | |
8326 | | - |
| 8343 | + |
8327 | 8344 | |
8328 | 8345 | |
8329 | 8346 | |
| ||
9043 | 9060 | |
9044 | 9061 | |
9045 | 9062 | |
9046 | | - |
| 9063 | + |
9047 | 9064 | |
9048 | 9065 | |
9049 | 9066 | |
| ||
9650 | 9667 | |
9651 | 9668 | |
9652 | 9669 | |
9653 | | - |
| 9670 | + |
9654 | 9671 | |
9655 | 9672 | |
9656 | | - |
| 9673 | + |
9657 | 9674 | |
9658 | 9675 | |
9659 | 9676 | |
|
Collapse file
+9-7Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3845 | 3845 | |
3846 | 3846 | |
3847 | 3847 | |
| 3848 | + |
| 3849 | + |
3848 | 3850 | |
3849 | 3851 | |
3850 | 3852 | |
| ||
3876 | 3878 | |
3877 | 3879 | |
3878 | 3880 | |
3879 | | - |
3880 | | - |
3881 | | - |
3882 | | - |
3883 | | - |
| 3881 | + |
| 3882 | + |
| 3883 | + |
| 3884 | + |
| 3885 | + |
3884 | 3886 | |
3885 | | - |
3886 | | - |
| 3887 | + |
| 3888 | + |
3887 | 3889 | |
3888 | 3890 | |
3889 | 3891 | |
|
Collapse file
tests/baselines/reference/api/tsserverlibrary.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/tsserverlibrary.d.ts+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2192 | 2192 | |
2193 | 2193 | |
2194 | 2194 | |
| 2195 | + |
2195 | 2196 | |
2196 | 2197 | |
2197 | 2198 | |
| ||
2216 | 2217 | |
2217 | 2218 | |
2218 | 2219 | |
2219 | | - |
| 2220 | + |
2220 | 2221 | |
2221 | 2222 | |
2222 | 2223 | |
|
Collapse file
tests/baselines/reference/api/typescript.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/typescript.d.ts+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2192 | 2192 | |
2193 | 2193 | |
2194 | 2194 | |
| 2195 | + |
2195 | 2196 | |
2196 | 2197 | |
2197 | 2198 | |
| ||
2216 | 2217 | |
2217 | 2218 | |
2218 | 2219 | |
2219 | | - |
| 2220 | + |
2220 | 2221 | |
2221 | 2222 | |
2222 | 2223 | |
|
Collapse file
tests/baselines/reference/conditionalTypes1.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/conditionalTypes1.errors.txt+18-2Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
64 | 64 | |
65 | 65 | |
66 | 66 | |
67 | | - |
68 | | - |
| 67 | + |
| 68 | + |
69 | 69 | |
70 | 70 | |
71 | 71 | |
| ||
318 | 318 | |
319 | 319 | |
320 | 320 | |
| 321 | + |
| 322 | + |
| 323 | + |
| 324 | + |
| 325 | + |
321 | 326 | |
322 | 327 | |
323 | 328 | |
| ||
477 | 482 | |
478 | 483 | |
479 | 484 | |
| 485 | + |
| 486 | + |
| 487 | + |
| 488 | + |
| 489 | + |
| 490 | + |
| 491 | + |
| 492 | + |
| 493 | + |
| 494 | + |
| 495 | + |
480 | 496 | |
Collapse file
tests/baselines/reference/conditionalTypes1.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/conditionalTypes1.js+47Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
161 | 161 | |
162 | 162 | |
163 | 163 | |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
164 | 169 | |
165 | 170 | |
166 | 171 | |
| ||
315 | 320 | |
316 | 321 | |
317 | 322 | |
| 323 | + |
| 324 | + |
| 325 | + |
| 326 | + |
| 327 | + |
| 328 | + |
| 329 | + |
| 330 | + |
| 331 | + |
| 332 | + |
| 333 | + |
318 | 334 | |
319 | 335 | |
320 | 336 | |
| ||
517 | 533 | |
518 | 534 | |
519 | 535 | |
| 536 | + |
| 537 | + |
| 538 | + |
| 539 | + |
| 540 | + |
| 541 | + |
| 542 | + |
| 543 | + |
| 544 | + |
| 545 | + |
| 546 | + |
| 547 | + |
| 548 | + |
| 549 | + |
| 550 | + |
| 551 | + |
| 552 | + |
| 553 | + |
| 554 | + |
520 | 555 | |
521 | 556 | |
522 | 557 | |
| ||
624 | 659 | |
625 | 660 | |
626 | 661 | |
| 662 | + |
| 663 | + |
| 664 | + |
| 665 | + |
| 666 | + |
| 667 | + |
| 668 | + |
| 669 | + |
| 670 | + |
| 671 | + |
| 672 | + |
| 673 | + |
0 commit comments