Commit c2773b4
authored
[ty] support
Fixes astral-sh/ty#1649
## Summary
We missed this when adding support for `type[]` of a specialized
generic.
## Test Plan
Added mdtests.type[tuple[...]] (#21652)1 parent bc6517a commit c2773b4
File tree
2 files changed
+19
-3
lines changed- crates/ty_python_semantic
- resources/mdtest/subscript
- src/types/infer/builder
2 files changed
+19
-3
lines changedLines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
332 | 342 | | |
333 | 343 | | |
334 | 344 | | |
| |||
392 | 402 | | |
393 | 403 | | |
394 | 404 | | |
395 | | - | |
| 405 | + | |
396 | 406 | | |
397 | 407 | | |
398 | 408 | | |
| |||
402 | 412 | | |
403 | 413 | | |
404 | 414 | | |
405 | | - | |
| 415 | + | |
406 | 416 | | |
407 | 417 | | |
408 | 418 | | |
409 | 419 | | |
410 | 420 | | |
411 | 421 | | |
412 | 422 | | |
413 | | - | |
| 423 | + | |
414 | 424 | | |
415 | 425 | | |
416 | 426 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
694 | 700 | | |
695 | 701 | | |
696 | 702 | | |
| |||
0 commit comments