distributed-process icon indicating copy to clipboard operation
distributed-process copied to clipboard

Build failure with ghc-9.2.4 `Expecting one more argument to ‘TyVarBndr’`

Open TristanCacqueray opened this issue 2 years ago • 1 comments

It seems like distributed-process is not buildable with ghc-9.2 because of this error:

src/Control/Distributed/Process/Internal/Closure/TH.hs:225:18: error:
    • Expecting one more argument to ‘TyVarBndr’
      Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
    • In the type signature:
        monomorphize :: [TyVarBndr] -> Type -> Q Type
    |
225 | monomorphize :: [TyVarBndr] -> Type -> Q Type
    |                  ^^^^^^^^^

Only this module is affected, is there some CPP magic we can use to fix that error?

TristanCacqueray avatar Aug 22 '22 12:08 TristanCacqueray

Submitted a fix: https://github.com/haskell-distributed/distributed-process/pull/367

matt2718 avatar Oct 11 '22 21:10 matt2718

FIxed with https://github.com/haskell-distributed/distributed-process/pull/370

davidsd avatar May 01 '23 19:05 davidsd