-
Notifications
You must be signed in to change notification settings - Fork 612
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
Incorrect parameters value for procs and methods #2396
Comments
What is the exact version of Rubinius? The reporting multiple parameters as block has been fixed here: 215c42d What exactly is the compile issue? Are you perhaps on a 32 bit system? I've just fixed an issue with the JIT compiler on 32 bit system, that could show as a lot of debug output. |
Yes, I'm on a 32bit Ubuntu 12.04 and the version I'm trying to compile is 8875d77. It doesn't seem that the recent changes have made any difference. The commit you are referring to indeed fixed one of the issues with parameters (hence the shorter output on rbx-head), but it only fixed that issue for methods, not for procs, and methods still return a weird '@unnamed_splat' for methods with unnamed splat argument. |
Ah ok, well, I still have the fix for 32 bit here locally only, so will push that shortly together with fixes for these two issues. |
This issue should be fixed now :) |
Thanks. It works now. |
I run into some problems on Rubinius, where it returns different values for parameters than MRI 1.9.3.
For the following program:
The output on rbx-head is:
and the output on rbx-2.0.rc1 is:
the output on MRI 1.9.3 is empty.
I suspect that the problem lies somewhere here:
https://github.com/rubinius/rubinius/blob/master/kernel/common/compiled_code.rb#L515-L538
and here:
https://github.com/rubinius/rubinius/blob/master/kernel/common/proc.rb#L91-L120
I'd add a fix for this myself, but for some reason I can't get rbx to compile (spits out tons of debug output).
The text was updated successfully, but these errors were encountered: