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
Splatted arguments sometimes aren't passed to methods properly. #2926
Comments
Just upgraded to 2.2.4, same thing happens. |
This indeed seems to be the JIT. Running the script with the JIT disabled ( |
Further simplification: loop do
value = nil
ary = *value
if ary == [nil]
raise "error"
end
end |
So I've found the issue and it's fairly straightforward. I'd like to offer up pairing on this with someone if they're interested in finding out more about how some of the bits in the JIT work and how this case can be fixed. |
I'd be up for that, and I'm pretty sure others might be too (e.g. @razielgn might be interested as well). |
Maybe record a short video like you did once before? I enjoyed watching. |
@ileitch One thing I thought about is doing a hangout and recording that for posterity so people can view that. |
An hangout sounds very good to me. We could join live to ask questions if we manage to find a common time/date. :) |
I can do a hangout Tuesday evening CET timezone, how does that sound? |
Fine by me! |
I can make it from 6pm to 8pm. |
How about Tuesday 19:00 CET then? We should get through it pretty quick I think. |
Yeah, sounds good. Thank you. :) |
19:00 is a bit too early for me as that's around the time I hop in a train. I'm perfectly fine with watching the recording though. |
This is a weird one. The JIT, maybe?
Then:
The text was updated successfully, but these errors were encountered: