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

Instantiate variant types as needed #814

Merged
merged 2 commits into from
Aug 20, 2023
Merged

Conversation

zth
Copy link
Collaborator

@zth zth commented Aug 20, 2023

This fixes a bug where for example completion from result wouldn't work, because the variant's type variables wasn't instantiated (and result is linked to Belt.Result.t, so I guess the type variables got lost in the linkage).

@zth zth requested a review from cristianoc August 20, 2023 10:28
Copy link
Collaborator

@cristianoc cristianoc left a comment

Choose a reason for hiding this comment

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

nice fix !

@zth zth merged commit d06ce9f into master Aug 20, 2023
5 checks passed
@zth zth deleted the pattern-completion-instantiate-types branch August 20, 2023 11:40
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