Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Oct 16, 2025

Similar to #24188, but we now disallow apply members at tuple selection instead of tuple formation. This also works for hand-rolled tuples built using NamedTuple(...). And it constitutes the minimal fix to avoid the recursion.

Similar to scala#24188, but we now disallow `apply` members at tuple selection
instead of tuple formation. This also works for hand-rolled
tuples built using `NamedTuple(...)`. And it constitutes the minimal fix
to avoid the recursion.
@odersky odersky linked an issue Oct 16, 2025 that may be closed by this pull request
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.

Compiler crashes when named tuple with apply field is used

2 participants