You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Escape character / doesn't work in rescript 10 in %raw templates #6236
I ran into this myself when trying to convert some JS code that had string interpolation via backticks. I had to unwind the string interpolation to proceed with the conversion to ReScript which was unfortunate (I added back once that chunk of code was ready to be rewritten in ReScript).
I also think the title of this issue meant to say \ and not /.
Activity
cknitt commentedon May 2, 2023
Hi! As the README says, the syntax repo is deprecated and new issues should be created in the compiler repo. I'll transfer your issue there.
brettcannon commentedon May 7, 2024
I ran into this myself when trying to convert some JS code that had string interpolation via backticks. I had to unwind the string interpolation to proceed with the conversion to ReScript which was unfortunate (I added back once that chunk of code was ready to be rewritten in ReScript).
I also think the title of this issue meant to say
\and not/.joshgillies commentedon Mar 23, 2025
I'd say this issue needs to be called out in the following docs:
I hit this immediately when trying to convert some existing code to ReScript.
Add test case for GitHub issue rescript-lang#6236