Skip to content

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Sep 1, 2025

Implements part of SIP 70. Currently, only Seqs and Arrays can be unpacked. Pattern matching with a spread in the middle of a sequence is not yet supported.

We need to access them twice because we first need to take their length, then
append them to the buffer. If a spread might have side effects, lift all side-effecting
arguments out in the order of occurrence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant