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

Fix record/tuple literal elaboration #508

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Kmeakin
Copy link
Contributor

@Kmeakin Kmeakin commented Sep 6, 2023

Fixes #507

When record types are quoted, the size of the environment is incremented with each field. But this is not done when record types are created during synthesis of record literals/tuple literals. This led to off by one errors

@Kmeakin Kmeakin changed the title Issue 507 Fix record/tuple literal elaboration Sep 7, 2023
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.

Incorrect elaboration of record literals?
1 participant