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
(With my expectations being OH "HAI, 7, OH \HAI, 7.)
The simplest hypothesis that fits the data is that we correctly parse backslashes in strings, but we don't un-escape them correctly when we store them as values.
The text was updated successfully, but these errors were encountered:
First tried to do it in the term:str action method, but the test
suite wouldn't let me. :) This started failing:
t/integration/corner-cases.t ... 10/?
# Failed test 'can escape quotes inside string'
# at /home/masak/ours/007/lib/_007/Test.pm line 201
# expected: ''
# got: '@@ -4,3 +4,3 @@
# Identifier[say]
# Arguments
# - Str["\""]
# + Str["""]
# '
Because Q::Literal::Str represents the code view of things, and
the code clearly still has the backslash.
Thank you, test.
Closesmasak#23.
The following are right:
And these are all wrong:
(With my expectations being
OH "HAI
,7
,OH \HAI
,7
.)The simplest hypothesis that fits the data is that we correctly parse backslashes in strings, but we don't un-escape them correctly when we store them as values.
The text was updated successfully, but these errors were encountered: