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
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 /.
Please see more details here: https://forum.rescript-lang.org/t/string-interpolations-in-raw/871/8?u=jasoons
Example:
In rescript 9 this produces:
But in rescript >= 10 it produces:
You can reproduce this by adjusting the rescript version in the playground settings: https://rescript-lang.org/try?code=KTBOEMHcAoAMCgD0iAEAbA9hg1igtuADQqgCmA5gK5rigoBS4AbuAMoDGoAlgA4AuAQngs6eUgGdx4cqRQBeFAB1YigCQBvAEQALUmkyaAvsoDc8AGaUAduz5cMVlOTKk+0PAEoU6+ChTsHcQw0UgA6THJ3D3hDeFgPIA
The text was updated successfully, but these errors were encountered: