Daniel Gröber (dxld)

Results 354 comments of Daniel Gröber (dxld)
trafficstars

No unfortunately, any help is welcome though :)

@bgamari I saw that ghc envirnoment stuff but never really investigated what they really do. Can you maybe show an example of what such a thing looks like or link...

Ah I see, the environment just contains info about packages and package-dbs not exact per-component GHC flags. Not sure how useful that is in more complex projects TBH. As far...

No, we always check which component a file belongs to before doing anything and initialize a GHC session with the flags for the picked component. If you then switch to...

The problem I see is that, for example, per component `ghc-options` won't be passed to `ghc-mod` with this approach which would be a regression in functionality. I still think going...

At the moment time is a bit of a scarse resources around ghc-mod, it seems to have fallen out of stackage since lts-6 (i.e. GHC 7.10). Personally I don't use...

If this is indeed a GHC issue as the HIE issues seem to suggest then there isn't much we can do about it in ghc-mod. These things tend to happen...

Can you try running `stack test` before trying to run ghc-mod on any of your test modules. I think that should do the equivalent of `cabal configure --enable-tests` so cabal-helper...

Oh `stack test --only-configure` should do the trick actually. Regrettably there isn't a way to get the state of the --enable/disable-{tests,benchmarks,..} flags out of LocalBuildInfo so every time ghc-mod decides...

I'll have to give this a closer look at some point then, not sure what's going on.