Skip to content

Conversation

@som-snytt
Copy link
Contributor

@som-snytt som-snytt commented Nov 6, 2018

In the old days, eta expansion would preserve
repeatedness of parameters. Instead, disallow
T* except for methods and constructors.

In function types, it should be expressed with
Seq, including for the expected type of an
eta expansion.

Originally at #6107

Fixes scala/bug#8923

In the old days, eta expansion would preserve
repeatedness of parameters. Instead, disallow
`T*` except for methods and constructors.

In function types, it should be expressed with
`Seq`, including for the expected type of an
eta expansion.
@scala-jenkins scala-jenkins added this to the 2.13.0-RC1 milestone Nov 6, 2018
@lrytz lrytz requested a review from adriaanm November 7, 2018 14:02
@adriaanm adriaanm merged commit 357bd85 into scala:2.13.x Nov 26, 2018
@som-snytt som-snytt deleted the issue/repeated-param branch November 26, 2018 16:43
@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes worth highlighting in next release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants