nimpretty: render r-strings properly, fixes #9236

This commit is contained in:
Andreas Rumpf 2018-10-16 13:33:01 +02:00
commit 89ba0f8592
4 changed files with 19 additions and 11 deletions

View file

@ -323,3 +323,5 @@ proc f() =
if c == '\\':
# escape char
str &= c
const test = r"C:\Users\-\Desktop\test.txt"