[Haskell-cafe] Suggestion for error message improvement
zkessin at gmail.com
Wed Oct 26 06:57:05 UTC 2016
When I compiled some code this morning I got an error that said that I
should edit my cabal file, but I notice that one thing is missing, the path
to the cabal file. Having that in the error message would make fixing it a
bit easier and faster in that emacs could take me right to the correct
cabal file and that I would know for sure which one it was using.
I tried filing this as a bug on the stack github repo but they said it is a
[1 of 1] Compiling Main ( tests/test.hs,
Failed to load interface for ‘Control.Lens’
It is a member of the hidden package ‘lens-4.14’.
Perhaps you need to add ‘lens’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
-- While building package ***********-0.1.0.0 using:
lib:********** test:test --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Twitter: @zkessin <https://twitter.com/zkessin>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe