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 recursive effects #483 #560

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

TimWhiting
Copy link
Collaborator

@TimWhiting TimWhiting commented Jun 22, 2024

Fixes #483

DataInfo is requested to get dataEffect in kind inference, to make a handled effect type with the correct linearity / named information.

However, for recursive effect type declarations we don't have the dataInfo yet for the type in the definition since we are in the process of inferring it. So we need to add the dataEffects for the mutually recursive type definition group prior to inferring them. This makes that change.

@TimWhiting TimWhiting requested a review from daanx June 23, 2024 00:51
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.

Internal error when using recursive effect
1 participant