Closed lukehoersten closed 8 years ago
@purcell pointed out that flycheck actually has it's own "stack" based checker. It basically just uses stack to run GHC: https://github.com/flycheck/flycheck/blob/master/flycheck.el#L6521
This is a flycheck issue.
When opening a buffer with errors, their weirdly reported as
(haskell-stack-ghc)
checker. As far as I know, this checker name is not defined anywhere. Rerunning the checker on the buffer (which actually loads the modules from stack-ide process for the first time) then correctly reports the checker as(stack-ide)
.I suspect these first immediately reported errors are actually quickly coming from the default
haskell-ghc
checker before it's disabled and before stack-ide even loads the modules. Not sure how to fix this.