-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with multiline strings #181
Comments
fyi, this affects all uses of Haskell's whitespace gap feature, not only multiline strings, the following has the same issue: x = "\ \"
y = 42 |
Not only strings. Generally "" followed by any character except whitespace breaks coloring AND matching brakets:
This will break matchig brakets because the opening brakets right after "" will not be reconised anymore. The workaorund is to put a space between them:
|
This issue report was last update in 2013. Is it still relevant to current code state? |
I just tested the initial example, and it looks like it's still an issue. |
Looks like haskell parsing is incorrect in dealing with escaping in multiline strings. I a quite simple (but a bit dummy) example:
I get the third line colored like a string so a backslash used for the line continuation and a quote gets wrongly interpreted as an escaped quote.
The text was updated successfully, but these errors were encountered: