Skip to content

Conversation

HertzDevil
Copy link
Contributor

Fixes #16180.

They were never supported in the first place, but became internal errors ever since the left-hand side supported splats. (Ruby supports this, so a, *b = *[1, 2], 3; b evaluates to [2, 3] there.)

@HertzDevil HertzDevil added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:parser labels Sep 30, 2025
@ysbaddaden ysbaddaden added this to the 1.19.0 milestone Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crystal compiler error: Splat, IndexError
2 participants