Skip to content

Changes around reaches and uses #23584

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jul 22, 2025

No description provided.

@odersky odersky requested a review from a team as a code owner July 22, 2025 21:51
@odersky odersky marked this pull request as draft July 22, 2025 21:51
@odersky odersky requested a review from Linyxus July 23, 2025 13:44
@odersky odersky marked this pull request as ready for review July 23, 2025 17:57
@Linyxus
Copy link
Contributor

Linyxus commented Aug 4, 2025

Is this PR ready for review? Or do you want to also include the changes for the way closure bodies are capture-checked? @odersky

Never mind, those changes are relevant to the spine-capture-set refactor, not this one. I mixed the contexts up.

@odersky
Copy link
Contributor Author

odersky commented Aug 6, 2025

Closing for now since too much has diverged.

@odersky
Copy link
Contributor Author

odersky commented Aug 6, 2025

Closing for now since this diverged too much from main.

@odersky odersky closed this Aug 6, 2025
@odersky odersky reopened this Aug 7, 2025
case tp: TypeRef if tp.symbol == defn.Caps_CapSet =>
// This can happen in cases where we try to type an eta expansion `$x => f($x)`
// from a polymorphic target type using capture sets. In that case the parameter type
// of $x is not treated as inferred is approximated to CapSet. An example is
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
// of $x is not treated as inferred is approximated to CapSet. An example is
// of $x is not treated as inferred and is approximated to CapSet. An example is

@Linyxus
Copy link
Contributor

Linyxus commented Aug 8, 2025

Is this PR ready for being reviewed?

@odersky
Copy link
Contributor Author

odersky commented Aug 8, 2025

Yes, ready for review

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