Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Oct 25, 2025

Don't automatically add cap when creating instances of capability classes.

To make up for this, refine the scheme to determine an implied fresh cap from
the class fields.

Also: Fix spurious warnings about redundant capabilities.

…sses

To make up for this, refine the scheme to determine an implied fresh cap from
the class fields.
@odersky odersky changed the title Fix spurious redundant capability warnings Don't add cap when creating instances of capability classes. Oct 26, 2025
@bracevac bracevac self-requested a review October 26, 2025 19:10
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.

1 participant