Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Scala 3 vararg splice syntax under -Xsource:3 #9584

Merged
merged 1 commit into from Apr 21, 2021

Conversation

smarter
Copy link
Member

@smarter smarter commented Apr 20, 2021

Instead of:

foo(s: _*)

One can now write:

foo(s*)

And instead of:

case Seq(elems @ _*) =>

One can now write:

case Seq(elems*) =>

See https://dotty.epfl.ch/docs/reference/changed-features/vararg-splices.html
for details.

Instead of:

    foo(s: _*)

One can now write:

    foo(s*)

And instead of:

    case Seq(elems @ _*) =>

One can now write:

    case Seq(elems*) =>

See https://dotty.epfl.ch/docs/reference/changed-features/vararg-splices.html
for details.
@scala-jenkins scala-jenkins added this to the 2.13.6 milestone Apr 20, 2021
@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Apr 20, 2021
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
4 participants