Skip to content

WIP: split contexts #3469

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

Closed
stereotype441 opened this issue Nov 14, 2023 · 2 comments
Closed

WIP: split contexts #3469

stereotype441 opened this issue Nov 14, 2023 · 2 comments
Assignees
Labels
feature Proposed language feature that solves one or more problems

Comments

@stereotype441
Copy link
Member

This is a placeholder for a language feature proposal I'm working on. I'll come back and update the description when the proposal is ready.

@stereotype441 stereotype441 added the feature Proposed language feature that solves one or more problems label Nov 14, 2023
@stereotype441 stereotype441 self-assigned this Nov 14, 2023
@mnordine
Copy link
Contributor

Very cryptic, 😆

@stereotype441
Copy link
Member Author

Very cryptic, 😆

Yeah, sorry. I was trying to see if it was possible to rework the language's notion of an inference context so that we had a clean separation between a "required context" (an inference context that, if not satisfied, would lead to a compile-time error) and an "aspirational part" (an inference context that was desirable to satisfy, but not necessary). The work got very involved, because inference contexts are used so heavily throughout the language. Not only was it a lot of work to specify, but it was clear that it would be a very big undertaking to implement. After consultation with the language team, we decided to try another approach, where instead of splitting up the two kinds of contexts, we would simply get rid of aspirational contexts entirely. This is tracked in #3471.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Proposed language feature that solves one or more problems
Projects
None yet
Development

No branches or pull requests

2 participants