Closed varosi closed 6 years ago
Setup.hs is not part of cabal project, but ghc-mod assumes it is. I suggest you file an issue on ghc-mod repo. 6 июня 2016 г. 4:19 PM пользователь "varosi" notifications@github.com написал:
Cabal projects may have Setup.hs files in the folder where .cabal file reside. Currently it doesn't show type information for its contents on Windows.
There are errors like:
haskell-ghc-mod warning: EXCEPTION: browse: Could not find module `Main' Use -v to see a list of the files searched for.
util.coffee:36 haskell-ghc-mod warning: EXCEPTION: browse: Could not find module System.Process' It is a member of the hidden packageprocess-1.2.3.0'. Perhaps you need to add `process' to the build-depends in your .cabal file. Use -v to see a list of the files searched for.
util.coffee:36 haskell-ghc-mod warning: EXCEPTION: browse: Could not find module System.FilePath' It is a member of the hidden packagefilepath-1.4.0.0'. Perhaps you need to add `filepath' to the build-depends in your .cabal file. Use -v to see a list of the files searched for.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/156, or mute the thread https://github.com/notifications/unsubscribe/AG8EZufOqmM-lXAn2Yf3XfcB8N-4yEP1ks5qJB5_gaJpZM4Iu4v4 .
That said, you could add dependencies to cabal file. 6 июня 2016 г. 4:23 PM пользователь "Nikolay Yakimov" root@livid.pp.ru написал:
Setup.hs is not part of cabal project, but ghc-mod assumes it is. I suggest you file an issue on ghc-mod repo. 6 июня 2016 г. 4:19 PM пользователь "varosi" notifications@github.com написал:
Cabal projects may have Setup.hs files in the folder where .cabal file reside. Currently it doesn't show type information for its contents on Windows.
There are errors like:
haskell-ghc-mod warning: EXCEPTION: browse: Could not find module `Main' Use -v to see a list of the files searched for.
util.coffee:36 haskell-ghc-mod warning: EXCEPTION: browse: Could not find module System.Process' It is a member of the hidden packageprocess-1.2.3.0'. Perhaps you need to add `process' to the build-depends in your .cabal file. Use -v to see a list of the files searched for.
util.coffee:36 haskell-ghc-mod warning: EXCEPTION: browse: Could not find module System.FilePath' It is a member of the hidden packagefilepath-1.4.0.0'. Perhaps you need to add `filepath' to the build-depends in your .cabal file. Use -v to see a list of the files searched for.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/156, or mute the thread https://github.com/notifications/unsubscribe/AG8EZufOqmM-lXAn2Yf3XfcB8N-4yEP1ks5qJB5_gaJpZM4Iu4v4 .
Cabal projects may have Setup.hs files in the folder where .cabal file reside. Currently it doesn't show type information for its contents on Windows.
There are errors like: