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 #661 by improving type inference #662

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

b-studios
Copy link
Collaborator

We now order block arguments to first type check those that do not subtract effects. This hopefully gives enough info about type arguments to uniquely determine effects of other block arguments.

We now order block arguments to first type check those that
do not subtract effects. This hopefully gives enough info
about type arguments to uniquely determine effects of other
block arguments.
@b-studios
Copy link
Collaborator Author

Hopefully, this also helps @phischu in #527

@b-studios
Copy link
Collaborator Author

Even though this is a simple heuristic that could be discussed and improved in the future, I am merging this now so it appears in the next release on Monday.

@b-studios b-studios merged commit 19b36bf into master Nov 3, 2024
2 checks passed
@b-studios b-studios deleted the feature/improve-type-inference branch November 3, 2024 14:38
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.

1 participant