Skip to content

feat: preserve order of parameters in extract_functions #18656

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

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

roife
Copy link
Member

@roife roife commented Dec 10, 2024

fix #18639.

Sort locals by binding_id (i.e., in the order of definitions).

This PR also fixes the order of parameters in unit tests.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 10, 2024
@Veykril Veykril added this pull request to the merge queue Dec 11, 2024
Merged via the queue into rust-lang:master with commit b0c82c9 Dec 11, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extract into function should preserve existing parameter order
3 participants