[Scala 3] convert varargs splice : _* to *#873
Open
halotukozak wants to merge 2 commits into
Open
Conversation
Scala 3 stdlib deprecates Scala 2 `foo(seq: _*)` syntax in favor of bare `foo(seq*)`. Pure call-site syntax change with no source-compat impact for callers of unchanged signatures. - core/js,jvm CrossUtils: wrappedArray, dictionary call sites - core jiop JCollectionUtils.JIterable.apply - mongo MongoOrder.apply - atLeast.scala scaladoc updated to current syntax
Slice 3.7: scala-2 `: _*` -> scala-3 `*` call-site syntax.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slice: 3.7 of Phase 3 (Scala 3 syntax modernization)
Merge order: Independent — can land any time (no overlap with 3.1/3.2/3.3/3.4/3.5/3.6)
Depends on: none
Base branch: upstream/scala-3 (not stacked)
Converts Scala 2 varargs splice
foo(seq: _*)to Scala 3foo(seq*)per stdlib-migration deprecation.Pure call-site syntax. No source-compat impact for callers of unchanged signatures.
Sites updated:
core/js,jvm CrossUtils:wrappedArray,dictionarycore jiop JCollectionUtils.JIterable.applymongo MongoOrder.applyatLeast.scalascaladoc updated to current syntaxsbt compile + Test/compile + scalafmtCheckAllexit 0. No new warnings, no new@nowarn/-Wconf.Only remaining
: _*hit is in disabledanalyzer/module (will-not-migrate / phase-deferred).