Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COMPILER] case when + splat #2147

Closed
kddnewton opened this issue Jan 10, 2024 · 0 comments · Fixed by ruby/ruby#9509
Closed

[COMPILER] case when + splat #2147

kddnewton opened this issue Jan 10, 2024 · 0 comments · Fixed by ruby/ruby#9509
Assignees
Labels
bug Something isn't working compiler
Milestone

Comments

@kddnewton
Copy link
Collaborator

ary = [1, 2]
case 1
when *ary
  :ok
else
  :ng
end
@kddnewton kddnewton added bug Something isn't working compiler labels Jan 10, 2024
@kddnewton kddnewton added this to the Ruby 3.3.1 milestone Jan 10, 2024
@peterzhu2118 peterzhu2118 self-assigned this Jan 11, 2024
peterzhu2118 added a commit to peterzhu2118/ruby that referenced this issue Jan 12, 2024
peterzhu2118 added a commit to ruby/ruby that referenced this issue Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants