implicit-hie
implicit-hie copied to clipboard
Common stanzas are not understood
What about using Cabal to do the parsing?
We can't depend on cabal because it's a very large dependency and hie-bios can't depend on cabal.
There are a few moreknown bugs having to due with generating cabal hie.yamls, try again tomorrow if you're having issues.
Cabal-fmt implemented a full cabal parser if ours gets to complex I look in to using theirs
Can you post the cabal file that fails?
Nothing complicated or surprising. The hs-source-dirs is not picked up from the common stanza.
cabal-version: 2.2
name: test
version: 0.1.0.0
description: test
category: test
build-type: Simple
common common
default-language: Haskell2010
hs-source-dirs: app
executable test
import: common
main-is: test.hs
build-depends:
base
Thanks. This is not currently a priority, ~but I will get to it eventually~
+1
Should be fixed by #48
@fendor I don't think it's fixed. I tested it locally, and it did not work.