wz1000 / HieDb

Generates a references DB from .hie files
BSD 3-Clause "New" or "Revised" License
64 stars 24 forks source link

Add support for ghc-9.0.1 #31

Closed anka-213 closed 3 years ago

anka-213 commented 3 years ago

I have ~not yet~ now made it backwards compatible.

To make dependencies work with ghc-9.0.1, you also need the fixes to hie-compat from https://github.com/haskell/haskell-language-server/pull/1635 (and probably updates to some other packages as well, I haven't checked which).

(Progress towards https://github.com/haskell/haskell-language-server/issues/297)

anka-213 commented 3 years ago

We can probably make it backwards-compatible by conditionally defining

type Unit = UnitId
moduleUnit = moduleUnitId

and a few similar things somewhere.

anka-213 commented 3 years ago

Oh, right, the CI doesn't use the included cabal.project but instead generates its own. That's why it's failing on ghc-9.0.1.

wz1000 commented 3 years ago

Thanks! Finally got around to merging this.