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

Backslashes unescaped in template literals #181

Open
vrana opened this issue Sep 6, 2022 · 0 comments · May be fixed by #182
Open

Backslashes unescaped in template literals #181

vrana opened this issue Sep 6, 2022 · 0 comments · May be fixed by #182

Comments

@vrana
Copy link

vrana commented Sep 6, 2022

I have this code:

var a = `a\nb\\d`;

CST parses it as:

var a = `a
b\d`;
vrana added a commit to vrana/cst that referenced this issue Sep 7, 2022
@vrana vrana linked a pull request Sep 7, 2022 that will close this issue
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 a pull request may close this issue.

1 participant