-
Notifications
You must be signed in to change notification settings - Fork 175
When using stack with lts-10.x, -Werror causes ghc-mod browse
to not look for dependencies
#924
Comments
Yeah I can totally see how I guess to fix this for good we could just unconditionally filter out |
The module is in |
I'm getting the error anyway |
Ok I've tracked down the problem. We only ever pass the module names given on the command line to Should be straightforward, all we need is to call
|
Running it now I get:
|
Actually I get that regardless of whether I include |
You need to delete cabal-helper's binary cache since you used a pre-release version, assuming you're on unix that should be at I really have to add some sort of hash there on of these days :/ |
Yup, seems to work. Thanks! |
I created a stack project with two modules
Lib
andDep
;Lib
importsDep
. I addedghc-options: -Werror
to the cabal file.Lib
is inexposed-modules
Dep
is inother-modules
Trying to use
ghc-mod browse
I getThe text was updated successfully, but these errors were encountered: