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

Refactor typechecker #612

Merged
merged 12 commits into from
Sep 18, 2024
Merged

Refactor typechecker #612

merged 12 commits into from
Sep 18, 2024

Conversation

bakkot
Copy link
Contributor

@bakkot bakkot commented Sep 17, 2024

Based on #611.

No functional changes except for the error messages in some cases. Commits can be reviewed individually, if you really want to, but it's not interesting other than the "split completion types in typechecker" commit, which splits the "completion" type into normal and abrupt. They can be union'd like any other types to represent "either a normal completion or an abrupt completion", instead of needing to keep track of it as a kind of ad-hoc union.

We don't refine "abrupt" because there's no point but it would be easy to do from here if it becomes necessary.

Copy link
Member

@michaelficarra michaelficarra left a comment

Choose a reason for hiding this comment

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

LGTM otherwise

Base automatically changed from bump-engines-and-deps to main September 18, 2024 02:16
@bakkot bakkot merged commit 540ad3a into main Sep 18, 2024
2 checks passed
@bakkot bakkot deleted the refactor-typechecker branch September 18, 2024 02:17
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.

2 participants