Skip to content

compatibility with template-haskell-2.21.0 and ghc 9.8#2542

Merged
Gabriella439 merged 1 commit intodhall-lang:mainfrom
locallycompact:th-2.21
Oct 17, 2023
Merged

compatibility with template-haskell-2.21.0 and ghc 9.8#2542
Gabriella439 merged 1 commit intodhall-lang:mainfrom
locallycompact:th-2.21

Conversation

@locallycompact
Copy link
Contributor

No description provided.

@georgefst georgefst mentioned this pull request Oct 17, 2023
@Gabriella439 Gabriella439 merged commit dfa8286 into dhall-lang:main Oct 17, 2023
@Gabriella439
Copy link
Collaborator

thank you!!! I'll cut a release soon including these changes

TeofilC added a commit to TeofilC/dhall-haskell that referenced this pull request Dec 16, 2024
<dhall-lang#2542> allowed `dhall`
to compile with template-haskell-2.21 and GHC-9.8 by adapting to the
addition of a binder visibility field on type variables.

Previously all binders were taken to be required, but in GHC-9.8 the
possibility of invisible binders was introduced.

The above patch mistakenly set all binders generated by Dhall to be
invisible, rather than default value of required. This changes the
semantics of the code and broke some examples in the test suite.

This patch fixes this by correctly setting binders to be BndrReq.

Resolves dhall-lang#2567
TeofilC added a commit to TeofilC/dhall-haskell that referenced this pull request Dec 16, 2024
dhall-lang#2542 allowed `dhall`
to compile with template-haskell-2.21 and GHC-9.8 by adapting to the
addition of a binder visibility field on type variables.

Previously all binders were taken to be required, but in GHC-9.8 the
possibility of invisible binders was introduced.

The above patch mistakenly set all binders generated by Dhall to be
invisible, rather than default value of required. This changes the
semantics of the code and broke some examples in the test suite.

This patch fixes this by correctly setting binders to be BndrReq.

Resolves dhall-lang#2567
@TeofilC TeofilC mentioned this pull request Dec 16, 2024
Gabriella439 pushed a commit that referenced this pull request Dec 20, 2024
#2542 allowed `dhall`
to compile with template-haskell-2.21 and GHC-9.8 by adapting to the
addition of a binder visibility field on type variables.

Previously all binders were taken to be required, but in GHC-9.8 the
possibility of invisible binders was introduced.

The above patch mistakenly set all binders generated by Dhall to be
invisible, rather than default value of required. This changes the
semantics of the code and broke some examples in the test suite.

This patch fixes this by correctly setting binders to be BndrReq.

Resolves #2567
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

Successfully merging this pull request may close these issues.

2 participants