Skip to content

Fix captured references to singleton types #17109

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

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Mar 15, 2023

When we had a reference to a x.type we mistakenly captured x instead of x.type. This was caused because SingletonTypeTree was not handled in Splicing. Fixing this uncovered some inconsistencies with the types in the encoding of the hole captured types and contents.

When we had a reference to a `x.type` we mistakenly captured `x` instead
of `x.type`. This was caused because `SingletonTypeTree` was not handled
in `Splicing`. Fixing this uncovered some inconsistencies with the types
in the encoding of the hole captured types and contents.
@nicolasstucki nicolasstucki force-pushed the splice-hole-with-singleton-captures branch from 610f74f to 6bdff49 Compare March 15, 2023 13:44
nicolasstucki added a commit that referenced this pull request Aug 15, 2023
When we had a reference to a `x.type` we mistakenly captured `x` instead
of `x.type`. This was caused because `SingletonTypeTree` was not handled
in `Splicing`.

Revisit #17109
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