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

Support for GHC 9.8 #46

Open
Vekhir opened this issue Feb 1, 2024 · 0 comments
Open

Support for GHC 9.8 #46

Vekhir opened this issue Feb 1, 2024 · 0 comments

Comments

@Vekhir
Copy link

Vekhir commented Feb 1, 2024

@bergmark
When building fclabels 2.0.5.1 using GHC 9.8 on Arch, the following error occurs:

[ 6 of 10] Compiling Data.Label.Derive ( src/Data/Label/Derive.hs, dist/build/Data/Label/Derive.dyn_o )

src/Data/Label/Derive.hs:310:55: error: [GHC-83865]
    • Couldn't match type ‘BndrVis’ with ‘()’
      Expected: [TyVarBndr ()]
        Actual: [TyVarBndr BndrVis]
    • In the fourth argument of ‘generateLabel’, namely ‘vars’
      In the second argument of ‘($)’, namely
        ‘generateLabel failing concrete name vars cons’
      In a stmt of a 'do' block:
        forM fields $ generateLabel failing concrete name vars cons
    |
310 |     forM fields $ generateLabel failing concrete name vars cons
    |                                                       ^^^^

This issue looks similar to linear-generics/linear-generics#25
The offending line is src/Data/Label/Derive.hs#L310

What do you think?

-- Vekhir

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