Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Nov 4, 2025

Don't prematurely force info of currently defined fields with inferred types when computing captureSetImpliedByFields.

Fixes #24335

@odersky odersky changed the title Don't prematurely force info of fields with inferrerred types Don't prematurely force info of fields with inferred types Nov 4, 2025
…d types

Don't prematurely force info of currently defined fields with inferred types when
computing captureSetImpliedByFields.

Fixes scala#24335
We now need to also check that fields with inferred types would not contribute
a fresh capability to the implied capture set of the class.
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.

Use is not properly recorded

1 participant