-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
jrubyc: variable ruby_result is already defined in method #812
Comments
Want to come up with a PR? The code for this is all in Ruby. On Wed, Jun 19, 2013 at 3:02 PM, Phil Smith notifications@github.comwrote:
|
A ruby argument named 'result' will conflict with the stack local used for the return value: both will become 'ruby_result' in java. Namespace arguments away from this by prefixing them with 'ruby_arg_' instead of merely 'ruby_'. See #812
At least with JRuby 9k, this is no bug is no longer present:
|
jrubyc
is not sandboxing the name of its java method return value away from the arguments names. Notice the doubleIRubyObject ruby_result
below.Perhaps prefix arguments with
ruby_arg_
?The text was updated successfully, but these errors were encountered: