-
Notifications
You must be signed in to change notification settings - Fork 59
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
Infinite <<loop>> when using named fields #211
Comments
My motivation for using named fields is in an attempt to have the I’m hoping that I can later use that to know which type arguments were a |
looks like a legitimate bug to me. do you have time to work on fixing this? |
@Gabriel439 suggested that this could potentially be fixed using the same approach as in dhall-lang/dhall-haskell#1660 |
I linked to the issue but the PR that fixes it is dhall-lang/dhall-haskell#1825 |
It looks like those changes allow erroring out and breaking the loop but don't actually allow generic deriving of recursive data types. |
This data type:
Produces this JSON:
However, if I attempt to name the field like this:
I get:
The text was updated successfully, but these errors were encountered: