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

Strict record and tuple subtyping #1460

Merged
merged 3 commits into from
Jan 7, 2025
Merged

Strict record and tuple subtyping #1460

merged 3 commits into from
Jan 7, 2025

Conversation

soutaro
Copy link
Owner

@soutaro soutaro commented Jan 7, 2025

  • The length of the tuple types must be same
  • Record type with additional key cannot be a subtype of another record type

@soutaro soutaro added the area/core Issues related to the type checker core label Jan 7, 2025
@soutaro soutaro added this to the Steep 1.10 milestone Jan 7, 2025
@soutaro soutaro merged commit 1cbceaf into master Jan 7, 2025
19 checks passed
@soutaro soutaro deleted the tuple-type branch January 7, 2025 08:26
@soutaro soutaro added the Released The PR is already included in a published release label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues related to the type checker core Released The PR is already included in a published release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant