ruff
[ty] bidirectional type inference using function return type annotations
#20528
Merged

[ty] bidirectional type inference using function return type annotations #20528

mtshiba
mtshiba [ty] propagate the annotated return type of functions to the inferenc…
5844c010
mtshiba mtshiba changed the title [ty] propagate the annotated return type of functions to the inference of expressions in return statements [ty] bidirectional type inference using function return type annotations 112 days ago
github-actions
github-actions
mtshiba don't wrap the raw return types of async functions in `CoroutineType`
c6f798c4
AlexWaygood AlexWaygood added ty
mtshiba improve `SpecializationBuilder::infer` behavior when `formal` is a un…
d14dcc87
mtshiba Merge branch 'main' into bidi-return-type
238ebf52
mtshiba Merge branch 'main' into bidi-return-type
69e8582c
mtshiba fix `nearest_enclosing_function` returning incorrect types for decora…
d33ee55e
mtshiba Update bidirectional.md
96228411
mtshiba mtshiba force pushed from d899f83c to 2d882b30 111 days ago
mtshiba
mtshiba commented on 2025-09-24
mtshiba mtshiba marked this pull request as ready for review 111 days ago
mtshiba mtshiba requested a review from carljm carljm 111 days ago
mtshiba mtshiba requested a review from AlexWaygood AlexWaygood 111 days ago
mtshiba mtshiba requested a review from sharkdp sharkdp 111 days ago
mtshiba mtshiba requested a review from dcreager dcreager 111 days ago
AlexWaygood AlexWaygood added ecosystem-analyzer
github-actions
mtshiba prevent incorrect specializations in `SpecializationBuilder::infer`
ef75f0a9
mtshiba mtshiba force pushed from 2d882b30 to ef75f0a9 111 days ago
AlexWaygood AlexWaygood removed ecosystem-analyzer
AlexWaygood AlexWaygood added ecosystem-analyzer
AlexWaygood
AlexWaygood commented on 2025-09-24
dcreager
dcreager commented on 2025-09-25
mtshiba Update crates/ty_python_semantic/src/types/infer/builder.rs
6c5625b7
mtshiba Update crates/ty_python_semantic/resources/mdtest/bidirectional.md
15652804
mtshiba Update crates/ty_python_semantic/resources/mdtest/bidirectional.md
7e8595aa
mtshiba refactor according to the review
d666494f
mtshiba mtshiba marked this pull request as draft 108 days ago
mtshiba Update bidirectional.md
40daa3f6
mtshiba Merge branch 'main' into bidi-return-type
32bd2117
mtshiba Update signatures.rs
b0a62f17
mtshiba Update bidirectional.md
4211ac92
mtshiba
mtshiba mtshiba marked this pull request as ready for review 105 days ago
mtshiba mtshiba requested a review from dcreager dcreager 105 days ago
mtshiba mtshiba requested a review from AlexWaygood AlexWaygood 105 days ago
mtshiba Update bidirectional.md
2212cc76
AlexWaygood AlexWaygood removed ecosystem-analyzer
AlexWaygood AlexWaygood added ecosystem-analyzer
dcreager
dcreager approved these changes on 2025-10-02
ibraheemdev
ibraheemdev approved these changes on 2025-10-03
mtshiba Merge branch 'main' into bidi-return-type
f99d03ff
mtshiba Update generics.rs
819a415a
mtshiba Apply suggestion from @ibraheemdev
1b6a5059
mtshiba mtshiba force pushed from 87be4957 to 1b6a5059 98 days ago
mtshiba Apply suggestions from code review
b27c1ed2
mtshiba improve bidirectional inference in `infer_collection_literal`
0249ba23
mtshiba mtshiba force pushed from 25c8ffcb to 0249ba23 98 days ago
mtshiba don't set `generic_context` on the `Signature` returned by `OverloadL…
9507d727
codspeed-hq
mtshiba Revert "don't set `generic_context` on the `Signature` returned by `O…
bd5a465c
mtshiba Update function.rs
8834fec1
mtshiba mtshiba requested a review from dcreager dcreager 98 days ago
mtshiba mtshiba requested a review from ibraheemdev ibraheemdev 98 days ago
ibraheemdev
ibraheemdev commented on 2025-10-06
mtshiba improve specialization between unions
d1e94557
mtshiba Revert "improve specialization between unions"
b5fddbcc
mtshiba Merge branch 'main' into bidi-return-type
1b42e057
mtshiba add `TypeDict` test cases
97c065df
mtshiba
ibraheemdev
ibraheemdev approved these changes on 2025-10-07
mtshiba Merge branch 'main' into bidi-return-type
78983604
mtshiba update mdtest
9cea9030
AlexWaygood AlexWaygood removed ecosystem-analyzer
AlexWaygood AlexWaygood added ecosystem-analyzer
carljm
ibraheemdev Merge branch 'main' into bidi-return-type
db90cda5
ibraheemdev update tests
e7b5c14c
ibraheemdev ibraheemdev enabled auto-merge (squash) 94 days ago
ibraheemdev
ibraheemdev ibraheemdev merged dc64c086 into main 94 days ago
mtshiba mtshiba deleted the bidi-return-type branch 94 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone