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
The first one escapes multiline strings correctly, but the other is adding an unnecessary \.
Here is a reproducible example, when I switched from v10 to v9 the unnecessary \ was removed.
The text was updated successfully, but these errors were encountered:
vmarcosp
changed the title
Incorrect escaping with inline strings
Incorrect escaping with multiline strings
Sep 6, 2022
Hey 👋
I found a bug when using multiline strings + interpolation. The following code:
Generates this code on v9:
And this code on v10:
There are differences on the generated code:
The first one escapes multiline strings correctly, but the other is adding an unnecessary
\
.Here is a reproducible example, when I switched from v10 to v9 the unnecessary
\
was removed.The text was updated successfully, but these errors were encountered: