We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is the same problem like in JRuby jruby/jruby#4555
MRI returns all unknown kwargs while calling a method. Instead of TruffleRuby returns only first one.
To reproduce:
def foo(bar: 'baz'); end foo(blah: nil, blah2: nil)
MRI (2.5.3):
Traceback (most recent call last): 3: from ~/.rubies/ruby-2.5.3/bin/irb:11:in `<main>' 2: from (irb):3 1: from (irb):2:in `foo' ArgumentError (unknown keywords: blah, blah2)
TruffleRuby (1.0.0.-rc10):
ArgumentError: unknown keyword: blah from (irb):2:in `foo' from (irb):3 from ~/.rubies/truffleruby-1.0.0-rc10/bin/irb:29:in `<main>'
The problem is, TruffleRuby shows only the first invalid kwarg.
The text was updated successfully, but these errors were encountered:
GraphQL specs seem to depend on this: rmosolgo/graphql-ruby#726
Sorry, something went wrong.
Still a problem in truffleruby 22.2.0-dev-84832be1, like ruby 3.0.3, GraalVM CE Native [aarch64-darwin]
truffleruby 22.2.0-dev-84832be1, like ruby 3.0.3, GraalVM CE Native [aarch64-darwin]
Fixed in 66bd905. Thank you for reporting the issue.
andrykonchin
No branches or pull requests
This is the same problem like in JRuby jruby/jruby#4555
MRI returns all unknown kwargs while calling a method. Instead of TruffleRuby returns only first one.
To reproduce:
MRI (2.5.3):
TruffleRuby (1.0.0.-rc10):
The problem is, TruffleRuby shows only the first invalid kwarg.
The text was updated successfully, but these errors were encountered: