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

Change might be needed for TemplateHaskell shipped with GHC 9.8 #170

Closed
Tracked by #61
andreasabel opened this issue Jun 9, 2023 · 2 comments
Closed
Tracked by #61

Comments

@andreasabel
Copy link
Contributor

Here is a patch that might become relevant after GHC 9.8 is released (don't know yet, but wanted to drop the pointer here):
https://gitlab.haskell.org/ghc/head.hackage/-/merge_requests/302/diffs#diff-content-ded2c3d3ecf900ee20b6404ad7c2d6dbd2093f70

@andreasabel
Copy link
Contributor Author

With GHC 9.8.1 alpha1 available, the build error is now manifest:

src/Lens/Micro/TH.hs:805:41: error: [GHC-83865]
    • Couldn't match type ‘()’ with ‘BndrVis’
      Expected: [TyVarBndr BndrVis]
        Actual: [TyVarBndrUnit]
    • In the second argument of ‘(:)’, namely ‘vars’
      In the third argument of ‘classD’, namely ‘(plainTV c : vars)’
      In the first argument of ‘($)’, namely
        ‘classD (cxt []) className (plainTV c : vars) fd’
    |
805 |   classD (cxt[]) className (D.plainTV c:vars) fd
    |                                      

andreasabel added a commit to andreasabel/microlens that referenced this issue Jul 31, 2023
This was referenced Jul 31, 2023
@stevenfontanella
Copy link
Owner

Released microlens-th-0.4.3.14. We can follow up in #171 on the text version bounds.

andreasabel added a commit to andreasabel/microlens that referenced this issue Oct 8, 2023
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