mkloczko / derive-storable-plugin

MIT License
11 stars 4 forks source link

Support GHC-9.6 #11

Closed TristanCacqueray closed 1 year ago

TristanCacqueray commented 1 year ago

Hi, trying to build this library with the latest GHC produces the following errors:

src/Foreign/Storable/Generic/Plugin/Internal/Helpers.hs:32:34: error:
    Module ‘GHC.Core.Opt.Monad’ does not export ‘CoreToDo(..)’
   |
32 | import GHC.Core.Opt.Monad (CoreM,CoreToDo(..))
   |                                  ^^^^^^^^^^^^
src/Foreign/Storable/Generic/Plugin/Internal/Helpers.hs:72:37: error:
    Module ‘GHC.Core.TyCo.Rep’ does not export ‘TyBinder(..)’
   |
72 | import GHC.Core.TyCo.Rep (Type(..), TyBinder(..), TyCoBinder(..),scaledThing)
   |                                     ^^^^^^^^^^^^
src/Foreign/Storable/Generic/Plugin/Internal/Helpers.hs:72:51: error:
    Module ‘GHC.Core.TyCo.Rep’ does not export ‘TyCoBinder(..)’
   |
72 | import GHC.Core.TyCo.Rep (Type(..), TyBinder(..), TyCoBinder(..),scaledThing)
   |