Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lrytz merged 1 commit intoscala:2.13.xfromsmarter:scala3-varargs
Apr 21, 2021

Conversation

@smarter
Copy link
Member

Instead of:

foo(s: _*)

One can now write:

foo(s*)

And instead of:

case Seq(elems @ _*) =>

One can now write:

case Seq(elems*) =>

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

joroKr21 reacted with hooray emoji
Instead of:    foo(s: _*)One can now write:    foo(s*)And instead of:    case Seq(elems @ _*) =>One can now write:    case Seq(elems*) =>Seehttps://dotty.epfl.ch/docs/reference/changed-features/vararg-splices.htmlfor details.
@scala-jenkinsscala-jenkins added this to the2.13.6 milestoneApr 20, 2021
@SethTisueSethTisue added the release-notesworth highlighting in next release notes labelApr 20, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@lrytzlrytzlrytz approved these changes

Assignees

No one assigned

Labels

release-notesworth highlighting in next release notes

Projects

None yet

Milestone

2.13.6

Development

Successfully merging this pull request may close these issues.

4 participants

@smarter@lrytz@SethTisue@scala-jenkins

[8]ページ先頭

©2009-2025 Movatter.jp