rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 94 forks source link

Garbage Text in Type Errors #576

Closed JKTKops closed 4 years ago

JKTKops commented 4 years ago

When I introduce a type error and bring up the error message, it displays as in the following image: image The real message is hiding in there but it's quite hard to read.

These are clearly UTF-8 encoding errors. My IntelliJ encoding is set at UTF-8.

rikvdkleij commented 4 years ago

Thanks for reporting!

Do you have example project?

JKTKops commented 4 years ago

I don't have a minimal breaking example but it happens in any of my existing stack projects (for example, this one). Sidenote: I messed with the plugin with that project but the whole project was written in Emacs; seems like I accidentally committed the .idea folder so you may have to nuke it.

rikvdkleij commented 4 years ago

I have checked out your example project but i can't reproduce your issue. Error messages are okay.

rikvdkleij commented 4 years ago

@JKTKops

Maybe this helps https://github.com/tweag/rules_haskell/issues/523

rikvdkleij commented 4 years ago

I can't reproduce this issue.