summaryrefslogtreecommitdiff
path: root/spec/ruby/core/kernel
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-09-29 09:15:43 -0700
committerJeremy Evans <code@jeremyevans.net>2019-09-29 10:34:07 -0700
commit869e4f6e4c683bf8e76ae7db54a26b33fb925410 (patch)
tree4985302b04065eb0e42156006f60d8b191632e6b /spec/ruby/core/kernel
parent070cbe22b70ec2bec36c7cfc84b726510afa306f (diff)
Fix or suppress keyword argument separation warnings in util_spec
Some warnings are because the @o.rb_scan_args call doesn't include keyword arguments, but the first argument is passed to rb_scan_args may have a last hash treated as keywords. Those should be handled using rb_scan_args_kw on Ruby 2.7. Other warnings are for the deprecated rb_scan_args behavior to split option hashes or treat a nil argument as an option hash. Those warnings should just be suppressed.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2504
Diffstat (limited to 'spec/ruby/core/kernel')
0 files changed, 0 insertions, 0 deletions