-
Notifications
You must be signed in to change notification settings - Fork 781
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
different behavior each_with_index.inject #3137
Comments
mruby does not support destructuring in assignment or block parameters yet. #2841 |
Ah…sorry, Thank you for your pointer! |
Sorry for leaving destructuring unimplemented. |
@matz Is there a reason it's not implemented? Should we put it on the roadmap, or is there another limitation I'm missing? |
It's difficult (but not impossible) to implement destructuring without adding new instruction (for the sake for compatibility). |
Hi, @matz
each_with_index.inject
of mruby is a different behavior with CRuby.The text was updated successfully, but these errors were encountered: