Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Dec 3, 2025

Also: enforce that mutable fields can only be declared in Stateful classes, unless they are annotated with untrackedCaptures.

In capture checking, a type mismatch might happen for a synthesized tree (say from implicit search). It can be helpful to show this tree. Before capture checking a helpful message is less likely since we don't synthesize implicit trees that then don't match under the standard typing rules.
@odersky odersky requested a review from a team as a code owner December 3, 2025 14:55
@odersky odersky changed the title Mut arrays Make Array a Mutable type under sparatation checking Dec 3, 2025
@odersky odersky changed the title Make Array a Mutable type under sparatation checking Make Arrays mutable types under separation checking Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant