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

compilation fails with new GHC-9.10 and template-haskell-2.22 #18

Closed
amigalemming opened this issue Mar 19, 2024 · 1 comment · Fixed by #19
Closed

compilation fails with new GHC-9.10 and template-haskell-2.22 #18

amigalemming opened this issue Mar 19, 2024 · 1 comment · Fixed by #19

Comments

@amigalemming
Copy link

With --allow-newer=template-haskell:

Building library for th-compat-0.1.4..
[1 of 1] Compiling Language.Haskell.TH.Syntax.Compat ( src/Language/Haskell/TH/Syntax/Compat.hs, dist/build/Language/Haskell/TH/Syntax/Compat.o, dist/build/Language/Haskell/TH/Syntax/Compat.dyn_o )

src/Language/Haskell/TH/Syntax/Compat.hs:760:16: error: [GHC-83865]
    • Expected kind ‘(* -> *) -> * -> *’,
        but ‘Code’ has kind ‘(* -> *) -> * -> *’
    • In the type ‘Code :: (forall r. (* -> *) -> TYPE r -> *)’
      In the type declaration for ‘Splice’
    |
760 | type Splice  = Code :: (forall r. (* -> *) -> TYPE r -> *)
    |                ^^^^
@RyanGlScott
Copy link
Member

I've uploaded th-compat-0.1.5 to Hackage with a fix.

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

Successfully merging a pull request may close this issue.

2 participants