implicit-hie
implicit-hie copied to clipboard
Use Cabal-syntax to parse cabal packages
There's actually two changes here:
- Parse using the
cabal-syntaxpackage. This fixes bugs for descriptors that put source dirs in common stanzas, like this one. - Generate one hie-bios component per module, instead of one per hs-source-dir. This fixes issues in projects that reuse the same hs-source-dir in multiple Cabal components, like the one linked above does too.
@Avi-D-coder do I need to do anything to get this change into implicit-hie-cradle too ?
@pepeiborra I published implicit-hie-0.1.3.0 with the changes in this pr. implicit-hie-cradle builds with implicit-hie-0.1.3.0 . So now just HLS and anything else upstream has to updated.
@pepeiborra Does a minimal hie.yaml with cradle: {cabal: {}} cause issues on your project?