elm-lang / elm-reactor

Interactive development tool that makes it easy to develop and debug Elm programs.
BSD 3-Clause "New" or "Revised" License
428 stars 63 forks source link

Error Message Lose Format (Newline) On Copy-Paste #204

Open louy2 opened 7 years ago

louy2 commented 7 years ago

elm-reactor nicely shows the error message in place of a failed compilation, but the message is rendered so that when copy-pasting it elsewhere it would not contain any newline (\n).

SSCCE: An empty elm file

Result:

I ran into something unexpected when parsing your code! I am looking for one of the following things:     "{-|"     a module declaration     a port declaration     a type declaration     a value definition     an import     an infix declaration     whitespace
process-bot commented 7 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.