Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
splats with non-array like values #3007
I came across this code trying out some of my thrift related things on jruby 9000. Here's the relevant source: https://github.com/apache/thrift/blob/master/lib/rb/lib/thrift/types.rb#L46-68
Now for the offending source.
klasses = String [*klasses]
On MRI 2.2:
On JRuby 9000:
I have no idea what the intended behavior is, if this is a weird MRI thing or a missing method in jRuby.