Skip to content
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

Syntax error should throw for invalid interpolation #448

Open
leafo opened this issue Jul 1, 2023 · 0 comments
Open

Syntax error should throw for invalid interpolation #448

leafo opened this issue Jul 1, 2023 · 0 comments

Comments

@leafo
Copy link
Owner

leafo commented Jul 1, 2023

hello = "one #{three ..} two"

Currently compiles to:

local hello = "one #{three ..} two"

This should abort compilation and throw error if a #{ is opened in a string that supports interpolation, but the interpolation expression does not parse

pigpigyyy added a commit to IppClub/YueScript that referenced this issue Jul 2, 2023
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

No branches or pull requests

1 participant