Skip to content

Don't automatically add any for new instances of stateful types#25680

Merged
odersky merged 1 commit intoscala:mainfrom
dotty-staging:fix-stateful-implied
Apr 1, 2026
Merged

Don't automatically add any for new instances of stateful types#25680
odersky merged 1 commit intoscala:mainfrom
dotty-staging:fix-stateful-implied

Conversation

@odersky
Copy link
Copy Markdown
Contributor

@odersky odersky commented Apr 1, 2026

Add any only if they contain mutable fields; update methods don't count.

Add any only if they contain mutable fields; update methods don't count.
@bracevac bracevac force-pushed the fix-stateful-implied branch from a0213ba to 58ca2b9 Compare April 1, 2026 16:55
@odersky odersky merged commit 2935ff9 into scala:main Apr 1, 2026
64 checks passed
@odersky odersky deleted the fix-stateful-implied branch April 1, 2026 21:06
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.

3 participants