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
Quoted symbols are not accepted as hash keys using new syntax #3231
Comments
That's a 2.2 feature. mruby targets 1.9 syntax including bug fixes. I don't oppose implementing it though. |
mruby gradually adopting 2.x features. It's a good chance to add quoted labels. |
I found this case.
|
matz
added a commit
that referenced
this issue
Nov 2, 2016
Thank you for fixing |
matz
added a commit
that referenced
this issue
Nov 4, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following Ruby code:
is correctly handled by CRuby (
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
):but doesn't work with mruby (latest from master,
9a126278
):Old syntax (
{:'1' => 1}
) works correctly in mruby.The text was updated successfully, but these errors were encountered: