-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[ty] Support calls to intersection types #22469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
carljm
wants to merge
43
commits into
main
Choose a base branch
from
claude/fix-issue-1858-UjARA
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,279
−147
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
f39370a
[ty] Support calls to intersection types
claude b3b1b7b
Fix markdown formatting in intersection_types.md
claude 360f1e9
[ty] Show individual errors when all intersection elements fail a call
claude 6b4a0b8
Bump sympy expected diagnostics to 13200
claude 4866f6e
[ty] Add priority hierarchy for intersection call errors
claude bc4798f
[ty] Support unions containing intersection elements in call bindings
claude cc1ddc5
Merge main into claude/fix-issue-1858-UjARA
claude 930f13d
Bump freqtrade expected diagnostics from 600 to 650
claude 01b1937
Fix invalid-await for intersections containing dynamic types
claude fafd6e2
cargo fmt
carljm d9b22cf
fix up 3.12/3.13 testing
carljm feb4df1
review tweaks
carljm c04fc6b
Fix: merge argument forms instead of overwriting
claude 849e267
Fix: unify as_result() logic for intersection and single-binding cases
claude f0c0c77
Fix misleading comment about Bindings structure
claude ac66d4c
Improve iter()/iter_mut() documentation and add BindingsElement::is_c…
claude fee0888
Move retain logic into retain_successful() method
claude fa9474f
Layer UnionDiagnostic and IntersectionDiagnostic for nested types
claude f4da250
Merge main into claude/fix-issue-1858-UjARA
claude c440f4b
Refactor dataclass params to use with_dataclass_params helper
claude 48c3b5e
Remove unused ClassLiteral import
claude 7a10c64
cargo fmt
carljm 7926fb1
Fix dataclass transform function handling after merge
carljm 110ae7c
prek
carljm 7247fb8
Merge branch 'main' into claude/fix-issue-1858-UjARA
carljm 6450fdc
Merge branch 'main' into claude/fix-issue-1858-UjARA
carljm a43f1ce
Merge branch 'main' into claude/fix-issue-1858-UjARA
carljm d330ae7
Merge branch 'main' into claude/fix-issue-1858-UjARA
carljm 294ba70
Merge branch 'main' into claude/fix-issue-1858-UjARA
carljm 6cc0859
clippy and fmt
carljm abec213
fix dataclass changes lost in merge
carljm c91bc66
add comments about safe use of intersection.positive()
carljm c8d4a76
fix bug with unions-within-unions
carljm 8d7d3ee
add more test cases
carljm 8a21abc
preserve return type info from top callables
carljm 1d7368d
Use Bindings::iter and Bindings::iter_mut more
carljm 6e90a66
Add Bindings::map_types and fix dataclass descriptor handling
carljm a7ce0fe
remove merge artifact
carljm 82d3ccf
Merge branch 'main' into claude/fix-issue-1858-UjARA
carljm 74082d2
minor review suggestions
carljm 2e519b2
fixed broken tests
carljm 8c3e4a5
go back to just flatten()
carljm 3862436
rename Bindings::iter[_mut] to Bindings::iter_flat[_mut]
carljm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.