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'm commenting this because it will only "fix" it for fmtstring. Raw strings seem to work well... or at least in Rust if you do "\n" inside a raw string, it prints "\n", not a newline, and it seems escape chars don't work inside raw strings.
Aim
Attempted to use escape characters in format or raw strings
Expected Behavior
\999..
\n
becoming a newline#
'sBug
Format strings
f".."
and raw stringsr".."
currently ignore\n
, and other escaped characters.For example:
nargo execute
gives:To Reproduce
print
's above into a test filenargo execute
Project Impact
None
Impact Context
No response
Workaround
Yes
Workaround Description
use regular strings for escaped characters and format strings for formatting, like so:
Additional Context
No response
Installation Method
Binary (
noirup
default)Nargo Version
No response
NoirJS Version
0.24.0+722dc969e8b09e5a6fd56b094b6939e9330233f6
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: