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

Difficult to pretty-print records with accessor names #3478

Open
Tracked by #3477
ChrisPenner opened this issue Sep 30, 2022 · 0 comments
Open
Tracked by #3477

Difficult to pretty-print records with accessor names #3478

ChrisPenner opened this issue Sep 30, 2022 · 0 comments

Comments

@ChrisPenner
Copy link
Contributor

As part of the LSP formatting: #3460 ; we would like to be able to round-trip records from their parsed representation, not only the typechecked one, but since record types aren't actually tracked as first-class "things" and are only inferred by the names that are in scope in the pretty printer, it's much more difficult to do.

We should likely support records as a first-class concept so we can do this sort of thing 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants