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

Commits on Apr 20, 2021

  1. Support Scala 3 vararg splice syntax under -Xsource:3

    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.
    smarter committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    24bd2d5 View commit details
    Browse the repository at this point in the history