Daniel Gröber (dxld)

Results 358 comments of Daniel Gröber (dxld)

Symlinks on windows might be a bit tricky but AFAIK NTFS supports them just fine but I'm not sure.

That's almost never the right thing to do though, I'd consider any IDE that doesn't do that right to have a bug. We had this problem in the Emacs frontend...

If you want to use pure comparison you have to do something equivalent to `canonicalizePath` or `readlink -f` on the path first btw.

My assumptions here are that there are three cases in which the paths in ghc-mod's output are relevant: 1) When users have to look at them (References to where a...

@lierdakil you have to think about where all these `String`s are coming from. All ghc-mod does (for `check` for example) is intercept ghc's log messages throught `withLogger` and then spit...

`type` of course is another matter entirely since we have a full `Type` AST in that case. If you want to clean that up or expose more of it feel...

Yeah you're right of course. Looks like I didn't read your question properly ;) Anyways if you (or anyone else) feels like cleaning that up feel free.

We just pass whatever -package flags Cabal comes up with to GHC so you'll want to start debugging by looking at `dist/setup-config`, `cabal-helper-wrapper . dist print-lbi --human | head -n1...

This should take care of the majority of cases: https://github.com/kazu-yamamoto/ghc-mod/pull/687

Yeah we use an ugly workaround to get the tests to work: https://github.com/kazu-yamamoto/ghc-mod/blob/master/Language/Haskell/GhcMod/Cradle.hs#L46 This is because some of the tests assume a plain (i.e. non cabal) environment but since there...