-
Notifications
You must be signed in to change notification settings - Fork 6
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
non-zero exit code 1, but no errors from output #2
Comments
If I remove any import statement for |
As I understand this is related to the fact that hdevtools is unaware of cabal projects or sandboxes so this issue can be closed. |
Aha, right -- thanks for following up on this. The core |
There are some of my notes. As noted on hdevtools issue tracker flags for ghci should work for hdevtools using -g option. Here is my example:
Contents of cabal file:
Imports in main.hs:
And these are same flags used for ghci which also works for hdevtools:
So most basic thing to do would be: There is interesting package I am not sure if cabal support should be moved into hdevtools itself so people using other editors would benefit from it too. |
I can't comment on whether What's needed here is to use those same flags when constructing the |
@purcell You can always use the |
@lunaryorn Yes, I figured that out, but I didn't want to reproduce the code for the |
@purcell There's not a lot of code behind these forms, and you can still call |
Yes, I might do the latter. Thanks! |
With any luck, If that gets merged, I won't plan to make any changes to |
In the meantime, I've been using this adapted version of the ghc checker for hdevtools. It works pretty well for me if anyone wants to steal it. |
@gridaphobe Aha, perhaps I should just paste that directly into |
@gridaphobe Done... I've committed those changes with you as the author. Thanks! |
Hehe, glad to help :) On Friday, July 11, 2014, Steve Purcell [email protected] wrote:
Sent from Gmail Mobile |
Closing due to the lack of activity. |
Hello,
I am getting this error:
Package is in cabal sandbox. I've used
Program compiles and works fine.
flycheck-version: 0.18alpha (package: 20140210.1331)
Output of
C-c ! C-c
:If I open Glyph.hs file, flycheck highlights error on line 44 (the one with qualified keyword) which is same as the output from
C-c ! C-c
:In other files of my project I am getting the
non-zero exit code 1
listed above.Full contents of
*Messages*
buffer:The text was updated successfully, but these errors were encountered: