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

Add two tests for local root encapsulation #18836

Closed
wants to merge 1 commit into from

Conversation

Linyxus
Copy link
Contributor

@Linyxus Linyxus commented Nov 3, 2023

Based on #18699 (comment).

@Linyxus Linyxus force-pushed the check-no-local-roots branch from 46c33a8 to eedc5d5 Compare November 5, 2023 13:08
@SethTisue SethTisue added the area:experimental:cc Capture checking related label Nov 6, 2023
@Linyxus Linyxus changed the title Ensure local roots won't escape Add two tests for local root encapsulation Nov 15, 2023
@Linyxus Linyxus requested a review from odersky November 15, 2023 16:25
@Linyxus Linyxus force-pushed the check-no-local-roots branch from eedc5d5 to 72ae1c1 Compare November 15, 2023 16:29
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.

We don't support local roots anymore with the latest PR, so it would be good to revise these tests.

@odersky
Copy link
Contributor

odersky commented Nov 28, 2023

@Linyxus What should we do with this PR?

@odersky odersky assigned Linyxus and unassigned odersky Nov 28, 2023
@Linyxus
Copy link
Contributor Author

Linyxus commented Nov 28, 2023

Local roots should not leak in the signature but reach capabilities could. So this two tests are not applicable any more. I'm closing this PR.

@Linyxus Linyxus closed this Nov 28, 2023
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.

3 participants