-
Notifications
You must be signed in to change notification settings - Fork 656
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
Compiler error produces unexpected output when rendered in a terminal #2302
Comments
Thanks for reporting this! To set expectations:
Finally, please be patient with the core team. They are trying their best with limited resources. |
As far as I can tell, “breaks terminal rendering” is a bit of a red herring. What seems to happen is that line 6 of the error message contains 65532 spaces in a row. Terminals wrap long lines, which in effect results in a very long empty section to scroll through in the middle of the error message. Here I replaced long sequences of a character like
Random note: 65532 is suspiciously close to 2^16 = 65,536. |
You're right. That was probably some unfortunate wording on my part. I've updated the description accordingly. 🙂 |
Quick Summary:
While working on https://github.com/hovsater/aoc-elm I encountered an error message that produces unexpected output inside a terminal. Specifically the error message seem to emit 65532 spaces in a row as @lydell kindly pointed out in #2302 (comment). Since the terminal wrap long lines, the result is a very long empty section to scroll through in the middle of the error message.
SSCCE
Additional Details
The problem can be produced when running with the JSON reporter as well (i.e.,
--report=json
).Here's the raw output from the terminal (produced by running
script /tmp/output
and then running/tmp/output
throughsed -n 'l'
The text was updated successfully, but these errors were encountered: