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
Failed to insert double quotes (") into a single-quoted (') string definition:
let my_string = 'abc " xyz'
Failed to escape-insert double quotes inside a double-quoted (") string:
let my_string = "abc \" xyz"
Expected Behavior
The NOIR compiler should support escape-inserting a double quotes character inside a double-quoted string.
Additionally it should support plain insertion of a double quotes character inside a single-quoted string.
Bug
Should be able to use the double quotes character as described
Should additionally be able to escape-insert a single quote character (') inside a single-quoted string
To Reproduce
let my_string = 'abc " xyz'
let my_string = "abc \" xyz"
or any other string definition where you include the double quotes character
or escape single quote character inside a single-quoted string: let my_string = 'abc \' xyz'
Installation Method
Binary
Nargo Version
0.11.1
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Aim
Failed to insert double quotes (") into a single-quoted (') string definition:
let my_string = 'abc " xyz'
Failed to escape-insert double quotes inside a double-quoted (") string:
let my_string = "abc \" xyz"
Expected Behavior
The NOIR compiler should support escape-inserting a double quotes character inside a double-quoted string.
Additionally it should support plain insertion of a double quotes character inside a single-quoted string.
Bug
Should be able to use the double quotes character as described
Should additionally be able to escape-insert a single quote character (') inside a single-quoted string
To Reproduce
let my_string = 'abc " xyz'
let my_string = "abc \" xyz"
let my_string = 'abc \' xyz'
Installation Method
Binary
Nargo Version
0.11.1
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: