Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Nov 12, 2025

No description provided.

Copy link
Member

@hamzaremmal hamzaremmal left a comment

Choose a reason for hiding this comment

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

I would still consider the consume def implies update def relation since we can pass a read only capability to a consume parameter but we would not be able to call a consume def with a read only capability. Nevertheless, this is a design decision we are aware will have to be made.

@hamzaremmal hamzaremmal merged commit d221ef5 into scala:main Nov 14, 2025
53 checks passed
@hamzaremmal hamzaremmal deleted the fix-24372 branch November 14, 2025 00:52
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.

Cannot define consume def in templates with caps.ExclusiveMutablity in the parents

2 participants