Skip to content

Comments

Allow apply adaptation on Selectable with Fields#20489

Merged
odersky merged 1 commit intoscala:mainfrom
dotty-staging:nt-selectable
May 30, 2024
Merged

Allow apply adaptation on Selectable with Fields#20489
odersky merged 1 commit intoscala:mainfrom
dotty-staging:nt-selectable

Conversation

@smarter
Copy link
Member

@smarter smarter commented May 29, 2024

Just like when using a regular Selectable with refinements, this change allows:

fromFlds.xs(0)

to be expanded to:

fromFlds.xs.apply(0)

Just like when using a regular Selectable with refinements, this change allows:

    fromFlds.xs(0)

to be expanded to:

    fromFlds.xs.apply(0)
@odersky odersky merged commit 3c9d985 into scala:main May 30, 2024
@odersky odersky deleted the nt-selectable branch May 30, 2024 13:51
@Kordyjan Kordyjan added this to the 3.5.1 milestone Jul 3, 2024
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