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

Build failure with template-haskell-2.22 (GHC 9.10) #15

Open
Tracked by #22
andreasabel opened this issue Apr 4, 2024 · 1 comment
Open
Tracked by #22

Build failure with template-haskell-2.22 (GHC 9.10) #15

andreasabel opened this issue Apr 4, 2024 · 1 comment

Comments

@andreasabel
Copy link

Data/Vector/Unboxed/Deriving.hs:72:32: error: [GHC-83865]
    • Couldn't match type ‘Pat’ with ‘ArgPat’
      Expected: [ArgPat]
        Actual: [Pat]
    • In the first argument of ‘Clause’, namely ‘pats’
      In the expression: Clause pats (NormalB body) []
      In the second argument of ‘FunD’, namely
        ‘[Clause pats (NormalB body) []]’
   |
72 |     method = FunD name [Clause pats (NormalB body) []]
   |                                ^^^^

A revision won't do it for GHC 9.10, this requires fix and release.

@andreasabel
Copy link
Author

This problem might fix itself in the next pre-release of GHC 9.10:

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