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

String interpolation ignores trailing invalid syntaxes #10287

Closed
kevinresol opened this issue Jun 11, 2021 · 0 comments
Closed

String interpolation ignores trailing invalid syntaxes #10287

kevinresol opened this issue Jun 11, 2021 · 0 comments
Labels
Milestone

Comments

@kevinresol
Copy link
Contributor

haxe 4.2.2

function foo() return 1;
function main() trace('${foo()blah}');

This should error out but compiles fine.

In fact, anything after ${foo() and before the closing } is completely ignored by the compiler.

@RealyUniqueName RealyUniqueName added this to the Bugs milestone Jun 22, 2021
@Simn Simn modified the milestones: Bugs, Later Mar 24, 2023
@Simn Simn closed this as completed in c6a8b20 Nov 13, 2023
kLabz pushed a commit that referenced this issue Nov 15, 2023
kLabz pushed a commit that referenced this issue Nov 16, 2023
0b1kn00b pushed a commit to 0b1kn00b/haxe that referenced this issue Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants