Skip to content

String interpolation should trigger compile error #1615

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

Closed
aminya opened this issue Jan 9, 2021 · 2 comments · Fixed by #1702
Closed

String interpolation should trigger compile error #1615

aminya opened this issue Jan 9, 2021 · 2 comments · Fixed by #1702

Comments

@aminya
Copy link

aminya commented Jan 9, 2021

I tried to use string interpolation using string template literals, but they do not work, and the compiler does not throw an error making it a hidden bug.

const str = `${something}`
@MaxGraey
Copy link
Member

MaxGraey commented Jan 9, 2021

Hmm, it definitely should be a compiler error.

@MaxGraey MaxGraey changed the title String interpolation support String interpolation should trigger compile error Jan 9, 2021
@BlueBlazin
Copy link

It's working just fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants