Skip to content

Conversation

@lrytz
Copy link
Member

@lrytz lrytz commented Oct 27, 2025

When using an array as sequence argument in Scala 3, the compiler emits a conversion to a Seq using ScalaRunTime.wrapXArray. The change in PR 11021 affects the semantics of such code.

Reverts #11021

Ref scala/scala3#24204

@lrytz lrytz requested a review from sjrd October 27, 2025 12:11
@lrytz lrytz requested a review from a team as a code owner October 27, 2025 12:11
@scala-jenkins scala-jenkins added this to the 2.13.18 milestone Oct 27, 2025
@lrytz
Copy link
Member Author

lrytz commented Oct 27, 2025

(it's "null check", not "Milkshake")

When using an array as sequence argument in Scala 3, the
compiler emits a conversion to a `Seq` using `ScalaRunTime.wrapXArray`.
The change in PR 11021 affects the semantics of such code.
@lrytz lrytz merged commit 6fe3520 into scala:2.13.x Oct 27, 2025
3 checks passed
@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Oct 27, 2025
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