Skip to content

Fix bugs with "Inline variable" code action #4671

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 4 commits into from
Jun 10, 2025

Conversation

GearsDatapacks
Copy link
Member

This PR fixes #4660.
I've had to rework VariableOrigin as I needed some more information to determine when inlining a variable was valid.

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@lpil lpil merged commit 54f6323 into gleam-lang:main Jun 10, 2025
12 checks passed
@GearsDatapacks GearsDatapacks deleted the fix-inline-variable branch June 10, 2025 13: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.

bug: inline variable code action can lead to invalid syntax
2 participants