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

add expectDeclNumConstructors #4341

Merged
merged 2 commits into from
Oct 5, 2023
Merged

add expectDeclNumConstructors #4341

merged 2 commits into from
Oct 5, 2023

Conversation

mitchellwrosen
Copy link
Member

Overview

This PR adds a expectDeclNumConstructors query to get the number of constructors in a decl:

expectDeclNumConstructors :: TypeReferenceId -> Transaction Int

(we use this in the upcoming merge algorithm)

@mitchellwrosen mitchellwrosen marked this pull request as ready for review October 5, 2023 16:48
@mitchellwrosen mitchellwrosen added the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Oct 5, 2023
@aryairani
Copy link
Contributor

Thanks

@mergify mergify bot merged commit c90f4df into trunk Oct 5, 2023
6 checks passed
@mergify mergify bot deleted the 23-10-05-decode-decl-len branch October 5, 2023 19:55
@mergify mergify bot removed the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Oct 5, 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.

2 participants