Skip to content
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

haskell layer - ghc8 error messages not formatted properly #6938

Closed
alexanderkjeldaas opened this issue Aug 27, 2016 · 6 comments
Closed

haskell layer - ghc8 error messages not formatted properly #6938

alexanderkjeldaas opened this issue Aug 27, 2016 · 6 comments

Comments

@alexanderkjeldaas
Copy link
Contributor

If you are posting about a *bug* please close this issue and open a new one
using [SPC h I] or [M-m h I] (I = capital i) from within Spacemacs.
You can delete this message to start typing.

The above instructions do nada in my spacemacs, so I ignored those instructions.

The latest ghc release give errors like this:

example

I'm using ghc-mod and intero. What I would like to see is the actual error from ghc.

@d12frosted
Copy link
Contributor

I'm using ghc-mod and intero

Wut? How is that possible in plain Spacemacs? AFAIK, they are exclusive.

@bravomikekilo
Copy link

bravomikekilo commented Aug 28, 2016

me too
I use

  1. the universal Linux Haskell platform
  2. ghc-mod 5.6.0.0 build by the ghc8
  3. the stack set to a ghc8 nightly build
    It is quiet wired that the warn the still okey.
    Some error can show up correctly ,for example parse error
    but when you make a new file and write |>
    module Main
    without a main function , the error become the "error:"
    I have a guessing that the missing error seem all have a \n after the error:
    so maybe this is the point because the old version of GHC produce those error message without \n

the new version seems solved this problem

I just upgrade the package from 105.21 , after the upgrade the problem seems solved , but I haven't
fully test yet

@alexanderkjeldaas
Copy link
Contributor Author

I mean I have ghc-mod and intero installed. I couldn't find any way to configure either, so Spacemacs will do whatever it wants.

@alexanderkjeldaas
Copy link
Contributor Author

I'm using 0.105.22

@NerdGGuy
Copy link

I had this issue after switching to GHC 8. Was fixed by upgrading spacemacs and related packages. Unless @alexanderkjeldaas still has issues we can close?

@d12frosted
Copy link
Contributor

Please try to reproduce this issue using latest Spacemacs (master or dev) and latest version of all related packages (better to just update all of them 😸 ). Closing this as being potentially fixed on master / upstream. Let me know if it's not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants