We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ ruby -e 'def m(_1) _1 end; p m(:m)' -e:1: warning: `_1' is reserved for numbered parameter; consider another name :m
$ mruby -e 'def m(_1) _1 end; p m(:m)' -e:1:8: warning: numbered parameter in nested block -e:1:8: syntax error, unexpected tNUMPARAM, expecting ')' -e:1:8: numbered parameter outside block
The text was updated successfully, but these errors were encountered:
7e63559
Allow non numbered-parameter identifier like _1 outside of blocks.
_1
ff16331
But it causes warnings as CRuby does; fix #4892 fix #489
No branches or pull requests
Ruby
mruby
The text was updated successfully, but these errors were encountered: