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

Improve template Haskell support for record constructors #2070

Merged
merged 2 commits into from
Oct 15, 2020
Merged

Conversation

Gabriella439
Copy link
Collaborator

Now the code generation will detect if a record constructor is
identical in its entirety to another type declaration and replace
the field with the reference to the other type.

Fixes #2066

Now the code generation will detect if a record constructor is
identical in its entirety to another type declaration and replace
the field with the reference to the other type.

Fixes #2066
Copy link
Collaborator

@sjakobi sjakobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mergify mergify bot merged commit 087ab76 into master Oct 15, 2020
@mergify mergify bot deleted the gabriel/2066 branch October 15, 2020 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Multiple declarations" errors in Haskell using makeHaskellTypes with MultipleConstructors
2 participants