ruff
[ty] Perform assignability etc checks using new `Constraints` trait
#19838
Merged

[ty] Perform assignability etc checks using new `Constraints` trait #19838

dcreager merged 21 commits into main from dcreager/relation-with-constraints
dcreager
github-actions
github-actions
codspeed-hq
AlexWaygood AlexWaygood added ty
Base automatically changed from dcreager/inferrable to main 188 days ago
dcreager dcreager force pushed from 60fb614b to 53077f3f 187 days ago
dcreager dcreager force pushed from 53077f3f to efabd550 186 days ago
dcreager dcreager force pushed from efabd550 to 737c8e92 185 days ago
dcreager add test cases
9b2398b0
dcreager constraints trait
28c02410
dcreager constraints
2ff4305a
dcreager clone instead of copy for pair visitor
3b9db67a
dcreager construct visitors with better names
912c1fdd
dcreager use constraints for has_relation_to
1e5c45d5
dcreager dcreager force pushed from 737c8e92 to 1e5c45d5 185 days ago
dcreager use constraints for is_equivalent_to
043e15a5
dcreager use constraints for is_disjoint_from
cf6b15a4
dcreager not using this yet
3c4aa51a
dcreager not using this either
29723245
dcreager document constraints
7499478d
dcreager dcreager marked this pull request as ready for review 185 days ago
dcreager dcreager requested a review from carljm carljm 185 days ago
dcreager dcreager requested a review from AlexWaygood AlexWaygood 185 days ago
dcreager dcreager requested a review from sharkdp sharkdp 185 days ago
dcreager
dcreager commented on 2025-08-19
dcreager dcreager changed the title [ty] WIP: Perform assignability etc checks using new `Constraints` trait [ty] Perform assignability etc checks using new `Constraints` trait 185 days ago
dcreager use constraints for is_subclass_of
a1efedb9
carljm
carljm approved these changes on 2025-08-20
dcreager less magic for short circuiting
38b8d13b
dcreager Merge branch 'main' into dcreager/relation-with-constraints
5ac04674
carljm
carljm approved these changes on 2025-08-21
dcreager Update crates/ty_python_semantic/src/types/constraints.rs
8188a891
dcreager Merge branch 'main' into dcreager/relation-with-constraints
bd4e27a1
AlexWaygood
AlexWaygood commented on 2025-08-21
dcreager rename some methods
744af0c8
dcreager document the module
86bd115e
dcreager fix docs
4b469dae
AlexWaygood
AlexWaygood approved these changes on 2025-08-21
dcreager Update crates/ty_python_semantic/src/types/constraints.rs
1a380f39
dcreager Apply suggestions from code review
f10babf6
dcreager dcreager merged 14fe1228 into main 183 days ago
dcreager dcreager deleted the dcreager/relation-with-constraints branch 183 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone