Skip to content

Static semantics for records #2489

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

Merged
merged 11 commits into from
Oct 3, 2022
Merged

Static semantics for records #2489

merged 11 commits into from
Oct 3, 2022

Conversation

leafpetersen
Copy link
Member

This adds a proposed type inference specification, and incorporates records into the inference, subtyping, normalization, and upper and lower bounds documents.

cc @munificent @eernstg @lrhn @stereotype441 @jakemac53 @natebosch @kallentu @scheglov @srawlins @johnniwinther @chloestefantsova

Copy link
Member

@munificent munificent left a comment

Choose a reason for hiding this comment

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

This looks great!

Copy link
Member

@eernstg eernstg left a comment

Choose a reason for hiding this comment

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

LGTM, noting one point that could be debated (about casts from dynamic).

@leafpetersen
Copy link
Member Author

I have updated this to reflect the outcome of the discussion in #2488, PTAL.

@leafpetersen leafpetersen merged commit d4a025a into master Oct 3, 2022
@leafpetersen leafpetersen deleted the record_inference branch October 3, 2022 22:21
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.

7 participants