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
{{ message }}
Repository navigation
Escaped string characters are getting extra backslashes #20
I'd recommend starting with a unit test that tests what the behavior should be. This test will fail, of course. (This is known as red/green testing.) Then debug and step through the code to see if you can find where the issue is. I believe you may start looking into the StringLiteralExpressionVisitor class. Most likely code needs to be added to fix this issue. Also please make sure this works for character literals as well (i.e. '\n' and '\\').
Activity
skpandey885 commentedon Jul 1, 2021
Can I Fix This One?
paulirwin commentedon Jul 1, 2021
@skpandey885 Absolutely! PRs welcome.
skpandey885 commentedon Jul 3, 2021
Can You Explain a Bit more..What I Have To do? I am Beginner So I need Your Help, Sir!
paulirwin commentedon Jul 4, 2021
I'd recommend starting with a unit test that tests what the behavior should be. This test will fail, of course. (This is known as red/green testing.) Then debug and step through the code to see if you can find where the issue is. I believe you may start looking into the
StringLiteralExpressionVisitorclass. Most likely code needs to be added to fix this issue. Also please make sure this works for character literals as well (i.e.'\n'and'\\').