Skip to content

[ty] Visit rest parameters in patterns in source order#23401

Merged
charliermarsh merged 2 commits intomainfrom
charlie/rest-source
Feb 18, 2026
Merged

[ty] Visit rest parameters in patterns in source order#23401
charliermarsh merged 2 commits intomainfrom
charlie/rest-source

Conversation

@charliermarsh
Copy link
Member

Summary

Like #23398, but for case {**rest, 'key': value}. The code previously assumed that **rest always came last.

@charliermarsh charliermarsh added bug Something isn't working ty Multi-file analysis & type inference labels Feb 18, 2026
@charliermarsh charliermarsh marked this pull request as ready for review February 18, 2026 20:55
@AlexWaygood AlexWaygood added the server Related to the LSP server label Feb 18, 2026
@charliermarsh charliermarsh enabled auto-merge (squash) February 18, 2026 21:08
@charliermarsh charliermarsh merged commit 496559e into main Feb 18, 2026
41 checks passed
@charliermarsh charliermarsh deleted the charlie/rest-source branch February 18, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working server Related to the LSP server ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants