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

[WIP] Explicit data representation keywords #18888

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

moisesackerman-da
Copy link
Contributor

@moisesackerman-da moisesackerman-da commented Mar 27, 2024

Currently, this only bumps GHC_REV to point to digital-asset/ghc#182, to ensure that everything keeps working


module Fib where

data record R1 = R1 with
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this currently fails with

            Malformed head of type or class declaration: record R1

that message comes from checkTyClHdr in RdrHsSyn (GHC); I thought the problem was that I added the Parser.y rule for flavored data types after the one for regular data types but testing locally with those two switched gave me the same result. Maybe this will make more sense when I'm back

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.

None yet

1 participant