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 implied bounds explicitly #117

Open
nikomatsakis opened this issue Oct 11, 2023 · 0 comments
Open

Instantiate implied bounds explicitly #117

nikomatsakis opened this issue Oct 11, 2023 · 0 comments
Labels
roadmap-tracking-issue Tracks an item on our types team roadmap.
Milestone

Comments

@nikomatsakis
Copy link
Contributor

nikomatsakis commented Oct 11, 2023

There are a number of soundness holes caused, directly or indirectly, by the way that we handle implied region bounds on functions. The current codebase tries to hack them in "on the side" rather than explicitly instantiating where-clauses in the compiler's logic. Converting implied bounds to be explicit is conceptually easy, but it requires supporting where-clauses (and implied bounds) attached to higher-ranked binders.

Requires #116

Related unsoundness bugs:

@nikomatsakis nikomatsakis added this to the Heat Death milestone Oct 11, 2023
@nikomatsakis nikomatsakis added the roadmap-tracking-issue Tracks an item on our types team roadmap. label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap-tracking-issue Tracks an item on our types team roadmap.
Projects
Status: No status
Development

No branches or pull requests

1 participant