Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Oct 28, 2025

This nails down the current behavior, which we argue is correct.

Closes #20481

This nails down the current behavior, which we argue is correct.
@odersky odersky requested review from Linyxus and noti0na1 October 28, 2025 16:20
@odersky odersky added the area:experimental:cc Capture checking related label Oct 28, 2025
@odersky odersky changed the title Test for behavior of path uses ending in pure types Test behavior of path uses ending in pure types Oct 28, 2025
Copy link
Member

@noti0na1 noti0na1 left a comment

Choose a reason for hiding this comment

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

At the time when I created the issue, I didn't assume A to be pure; hence we were confused by the result. I think it's clear A is inferred as pure now.

@noti0na1 noti0na1 merged commit 6f07a5d into scala:main Oct 29, 2025
51 checks passed
@noti0na1 noti0na1 deleted the fix-20481 branch October 29, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:experimental:cc Capture checking related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong capture checking result with path

2 participants