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

ghc 8.8 / template-haskell 2.15.0: build failure #38

Closed
deepfire opened this issue Jan 24, 2019 · 2 comments
Closed

ghc 8.8 / template-haskell 2.15.0: build failure #38

deepfire opened this issue Jan 24, 2019 · 2 comments

Comments

@deepfire
Copy link

[1 of 1] Compiling Language.Haskell.TH.Lift ( src/Language/Haskell/TH/Lift.hs, dist/build/Language/Haskell/TH/Lift.o )

src/Language/Haskell/TH/Lift.hs:215:15: error:
    • Couldn't match type ‘TyVarBndr’ with ‘Type’
      Expected type: [Type]
        Actual type: [TyVarBndr]
    • In the third argument of ‘f’, namely ‘vs’
      In the expression: f dcx n vs cons
      In a case alternative:
          DatatypeInfo {datatypeContext = dcx, datatypeName = n,
                        datatypeVars = vs, datatypeCons = cons}
            -> f dcx n vs cons
    |
215 |       f dcx n vs cons
    |               ^^
@deepfire deepfire changed the title ghc 8.8 / template-haskell 0.15.0: build failure ghc 8.8 / template-haskell 2.15.0: build failure Jan 24, 2019
@RyanGlScott
Copy link
Owner

I don't think the breakage here is due to GHC 8.8, but instead due to trying to use the pre-release th-abstraction-0.3.0.0 (which isn't quite ready to be used). See also dreixel/generic-deriving#60.

@RyanGlScott
Copy link
Owner

RyanGlScott commented Nov 8, 2019

This issue is fixed since th-abstraction-0.3 is out and th-lift now builds with it.

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

2 participants