Skip to content

Conversation

@andreasabel
Copy link
Member

@andreasabel andreasabel commented Jul 16, 2025

Stop emitting GHC-7.10 conditionals. Support for GHC 7 has already been dropped.
In particular, do not emit {-# LANGUAGE PartialTypeSignatures #-} twice.

Closes #339.

Fix #341: import Data.Function is emitted twice.

Support for GHC 7 has already been dropped.
Manually bumped the generator version from 2.1.5 to 2.1.6 here.
@andreasabel andreasabel requested a review from sgraf812 July 16, 2025 12:52
@sgraf812
Copy link
Collaborator

LGTM! Thanks for catching this.

@andreasabel
Copy link
Member Author

Thanks for the review, @sgraf812 !
I don't know the current release procedure for happy, could you bump happy to 2.1.6 and release it with this PR?

@andreasabel andreasabel added this to the 2.1.6 milestone Jul 16, 2025
@andreasabel andreasabel self-assigned this Jul 17, 2025
@andreasabel
Copy link
Member Author

Ah, I found the lib/hackage-upload.sh script.
Here are the candidates:

@andreasabel andreasabel merged commit d1c2993 into master Jul 17, 2025
28 checks passed
@andreasabel andreasabel deleted the language-partial-tysig branch July 17, 2025 09:17
@andreasabel
Copy link
Member Author

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.

Data.Function is imported twice in generated code Happy emits {-# LANGUAGE PartialTypeSignatures #-} twice

3 participants