-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
pretty-simple drops characters that come after non-balanced parenthesis #52
Comments
Also note the incorrect representation of the second |
@sjakobi Thanks for reporting this. Could you give the whole code used to produce My guess is that this happens because Here are two related issues. I imagine solving either of them would also solve this problem, if you'd like to take a shot at it:
|
I tried looking into this a little more. Here's my reproduction of this issue: You can see that everything after the final I'd happily accept fixes for either of these! I imagine #45 should be particularly easy to fix. |
|
Thanks for the quick response! I'll try to look for alternative packages first, but may come back if I don't find anything better! :) |
BTW I don't understand the new title. There's no unbalanced parenthesis here – it's apparently just that the characters are misparsed. |
Ah, so like I said in #52 (comment), this is caused because of #45 and #27. The unbalanced parenthesis are happening because there is no smart parsing for Haskell characters. However, if the unbalanced parenthesis thing was fixed, then at least all the characters would be output, even if there is no pretty-printing of them. |
This is fixed as of v3.2.0.0, probably due to 0b95aec. :) |
Sorry for the large example!
The
Union
constructor has two fields, butpPrintNoColor
shows only the first!The text was updated successfully, but these errors were encountered: