Skip to content

Conversation

@Linyxus
Copy link
Contributor

@Linyxus Linyxus commented Sep 15, 2025

Fixes #23726.

Instead of replying on the dependencies between function result and parameters, which is unreliable as shown in that issue (#23726), we collect the captures that will interfere with the hidden sets of formal parameters directly, and check separation between this set and the hidden sets.

Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

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

Looks good to me. It is clearer this way.

@odersky odersky merged commit 20c62f8 into scala:main Sep 17, 2025
50 checks passed
@odersky odersky deleted the fix-sepcheck branch September 17, 2025 10:36
WojciechMazur added a commit that referenced this pull request Sep 22, 2025
)

Backports #23927 to the 3.7.4.

PR submitted by the release tooling.
[skip ci]
@WojciechMazur WojciechMazur added this to the 3.7.4 milestone Sep 23, 2025
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.

Several separation checker issues

3 participants