Skip to content

persistent-sqlite: a fix for template-haskell 2.16, GHC 8.10 alpha #993

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

Merged
merged 1 commit into from
Jan 3, 2020
Merged

persistent-sqlite: a fix for template-haskell 2.16, GHC 8.10 alpha #993

merged 1 commit into from
Jan 3, 2020

Conversation

simonmichael
Copy link
Contributor

In GHC 8.10 (alpha2, at least), a TH splice (eg makeLenses) between
usage and definition of an instance (eg FromJSON) makes the instance
invisible at the usage site, causing an error. Cf
https://gitlab.haskell.org/ghc/ghc/merge_requests/1817#note_242542

This change lets persistent-sqlite build with GHC 8.10-alpha2.
I'm not sure about the other packages (didn't have the right deps
to build mysql).

In GHC 8.10 (alpha2, at least), a TH splice (eg makeLenses) between
usage and definition of an instance (eg FromJSON) makes the instance
invisible at the usage site, causing an error. Cf
https://gitlab.haskell.org/ghc/ghc/merge_requests/1817#note_242542

This change lets persistent-sqlite build with GHC 8.10-alpha2.
I'm not sure about the other packages (didn't have the right deps
to build mysql).
@parsonsmatt
Copy link
Collaborator

This is definitely a patch-level change. Thanks!

@parsonsmatt parsonsmatt merged commit da35294 into yesodweb:master Jan 3, 2020
@parsonsmatt
Copy link
Collaborator

Released as 2.10.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants