Closed michaelpj closed 3 years ago
We have a stanza like this:
executable prism-unlock-exchange hs-source-dirs: prism/unlock-exchange other-modules: build-depends: base >=4.9 && <5
which gives output like this:
- path: "plutus-scb/prism/unlock-exchange" component: "plutus-scb:exe:prism-unlock-exchange" - path: "plutus-scb/prism/unlock-exchange/build-depends:.hs" component: "plutus-scb:exe:prism-unlock-exchange" - path: "plutus-scb/prism/unlock-exchange/base.hs" component: "plutus-scb:exe:prism-unlock-exchange"
i.e. it's taking the cabal syntax after other-modules as, well, modules.
other-modules
Not sure if this is related to https://github.com/Avi-D-coder/implicit-hie/issues/17.
Maybe also: https://github.com/Avi-D-coder/implicit-hie/issues/29#issuecomment-731967670
I wonder if it is time to revive #13 and use directly cabal parsers.
@michaelpj When you get a chance could you make sure your issue is fixed, before I bump ghcide and hls dependence constraint.
We have a stanza like this:
which gives output like this:
i.e. it's taking the cabal syntax after
other-modules
as, well, modules.Not sure if this is related to https://github.com/Avi-D-coder/implicit-hie/issues/17.