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

Unexpected Kind errors when building tests #417

Open
solomon-b opened this issue Jan 10, 2024 · 0 comments
Open

Unexpected Kind errors when building tests #417

solomon-b opened this issue Jan 10, 2024 · 0 comments

Comments

@solomon-b
Copy link

I'm getting a ton of Kind errors on standalone deriving via instances:

For example:

src/Data/Functor/Monoidal.hs:725:59: error:
    • Couldn't match kind ‘k’ with ‘*’
      Expected kind ‘* -> *’, but ‘f’ has kind ‘k -> *’
      ‘k’ is a rigid type variable bound by
        the deriving clause for ‘FromDecidable (Reverse f)’
        at src/Data/Functor/Monoidal.hs:725:14-38
deriving via FromDecidable (Reverse f) instance Decidable f => Monoidal (->) Either Void (,) () (Reverse f)

I'm enabling all the same pragmas for doctest as I enable in my cabal file for the main build.

This is GHC 9.4.8 and doctest 0.22.2.

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