Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.4.0 fails to build with GHC 8.8 and up #4

Open
andreasabel opened this issue Nov 5, 2023 · 1 comment
Open

1.0.4.0 fails to build with GHC 8.8 and up #4

andreasabel opened this issue Nov 5, 2023 · 1 comment

Comments

@andreasabel
Copy link

constraints-deriving-1.0.4.0$ cabal build -w ghc-8.8.4
...
src/Data/Constraint/Deriving/CorePluginM.hs:283:5: error:
    • Illegal equational constraint SrcSpanLess a ~ ModuleName
      (Use GADTs or TypeFamilies to permit this)
    • When checking the inferred type
        lookupDep :: forall (f :: * -> *) a.
                     (MonadIO f, HasSrcSpan a, SrcSpanLess a ~ ModuleName) =>
                     HscEnv -> (Maybe FastString, a) -> f (Maybe Module)
      In an equation for ‘defCorePluginEnv’:
...
@andreasabel
Copy link
Author

andreasabel commented Nov 5, 2023

Fixed by revision 1: https://hackage.haskell.org/package/constraints-deriving-1.0.4.0/revisions/

Also for the other 1.0.x versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant