Skip to content

Use <= instead of < (visitInterpolatedString)#345

Merged
JohnnyMorganz merged 1 commit intoluau-lang:primaryfrom
wmccrthy:fix-visit-interpolated-string-bug
Jun 19, 2025
Merged

Use <= instead of < (visitInterpolatedString)#345
JohnnyMorganz merged 1 commit intoluau-lang:primaryfrom
wmccrthy:fix-visit-interpolated-string-bug

Conversation

@wmccrthy
Copy link
Copy Markdown
Contributor

@wmccrthy wmccrthy commented Jun 19, 2025

While working with the visitor, I noticed that interpolated strings were not properly traversed. It appears that is bc of this condition, which will not visit the last expression in the interpolated string node's expressions table.

@wmccrthy wmccrthy changed the title Use less than or equals to instead of less than Use <= instead of < (visitInterpolatedString) Jun 19, 2025
Copy link
Copy Markdown

@BitwiseAndrea BitwiseAndrea left a comment

Choose a reason for hiding this comment

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

My approval means nothing but i just want to be part of it all

Copy link
Copy Markdown
Collaborator

@JohnnyMorganz JohnnyMorganz 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!

@JohnnyMorganz JohnnyMorganz merged commit 55012ff into luau-lang:primary Jun 19, 2025
13 of 14 checks passed
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.

3 participants