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
Hello,
There's a bug with JRuby 9000 when defining a method that mixes a Hash argument with a keyword argument:
>> def foo(bar = {}, baz: nil) | end => :foo >> foo({ "foo" => "bar" }) => ArgumentError: unknown keyword: foo
This is not a problem with MRI.
Have a nice day!
The text was updated successfully, but these errors were encountered:
Yeah. This is something we know is broken and we discovered it pretty late in development. We will be targeting this in an earlier point release of 9.0.x.y. There are also tagged out specs as well so we have coverage once we do fix this.
Sorry, something went wrong.
Still broken as of master today (9.0.5.0).
Still failing today, but it won't make 9.1.
Fixed in commit c183943
enebo
No branches or pull requests
Hello,
There's a bug with JRuby 9000 when defining a method that mixes a Hash argument with a keyword argument:
This is not a problem with MRI.
Have a nice day!
The text was updated successfully, but these errors were encountered: