Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

quits on incorrect .lhs files #66

Closed
mwotton opened this Issue May 23, 2012 · 6 comments

Comments

Projects
None yet
2 participants

mwotton commented May 23, 2012

if i run ghc-mod check on incorrect literate Haskell, the preprocessor returns 1, so ghc-mod returns 1 - this kills the emacs process and turns flymake off, which is pretty annoying, especially given that the code will be wrong a lot of the time while hacking.

example code you get this on:

  here's some doco
  some more doco
  > main = putStrLn "oh no, i didn't put a newline in!"

ghc-mod version 1.10.15

Collaborator

kazu-yamamoto commented May 23, 2012

Sorry but I'm very busy now. I will come back to this issue about 10 days later.

mwotton commented May 23, 2012

no worries, not a showstopper by any means.

On Wed, May 23, 2012 at 2:02 PM, Kazu Yamamoto <
reply@reply.github.com

wrote:

Sorry but I'm very busy now. I will come back to this issue about 10 days
later.


Reply to this email directly or view it on GitHub:
kazu-yamamoto#66 (comment)

A UNIX signature isn't a return address, it's the ASCII equivalent of a
black velvet clown painting. It's a rectangle of carets surrounding a
quote from a literary giant of weeniedom like Heinlein or Dr. Who.
-- Chris Maeda

Collaborator

kazu-yamamoto commented Jun 4, 2012

I fixed it. Please test the latest code.

mwotton commented Jun 4, 2012

It doesn't crash any more, which is nice, but it doesn't indicate an actual error, which is a bit confusing.

Collaborator

kazu-yamamoto commented Jun 4, 2012

Yes. But GHC API just throw "`Literate pre-processor' failed" without location. This is my best workaround...

Collaborator

kazu-yamamoto commented Apr 3, 2014

No more flymake. Let's close.

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