Skip to content

Spacing with collection spreads and slices #72863

Discussion options

You must be logged in to vote

Ranges and spreads are entirely different and intentionally have different spacing to reflect that. As you correctly surmised though, spreads and slice patterns are aligned in their requirements as they have a semantic relationship we want to preserve in Syntax.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zdenek-jelinek
Comment options

@CyrusNajmabadi
Comment options

Answer selected by zdenek-jelinek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants