Skip to content

fix: Rust locals not defined by a function signature #13828

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

Conversation

CalebLarsen
Copy link
Contributor

Changes parameter creating a local definition to only parameter that is part of a function_item. This removes two cases, function_signature_item which is shown in the linked issue and function_type which also should not define locals.

Closes: #11172

Changes `parameter` creating a local definition to only `parameter` that
is part of a `function_item`. This removes two cases,
`function_signature_item` which is shown in the linked issue and
`function_type` which also should not define locals.

Closes: helix-editor#11172
@the-mikedavis the-mikedavis merged commit 60fce35 into helix-editor:master Jun 24, 2025
7 checks passed
@CalebLarsen CalebLarsen deleted the function-argument-ca-11172 branch June 24, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

function argument causes simalarly named function name to look like function argument.
2 participants