summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/equal_value_spec.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-09-05 16:27:26 +0900
committerJeremy Evans <code@jeremyevans.net>2019-09-05 17:47:12 -0700
commitc5555e2eb8631e649cc9377f0bd75ebc2788cc7d (patch)
tree695cab1eadab4892af702bcba161f3f56bdf055f /spec/ruby/core/array/equal_value_spec.rb
parenta23ddf7ff58ec77548d2ecd7f9f202aa3eff9fc7 (diff)
CALLER_SETUP_ARG removes an empty keyword hash from argv
...only when a "remove_empty_keyword_hash" flag is specified. After CALLER_SETUP_ARG is called, `ci->flag & VM_CALL_KW_SPLAT` must not be used. Instead. use `calling->kw_splat`. This is because CALLER_SETUP_ARG may modify argv and update `calling->kw_splat`, and `ci->flag & VM_CALL_KW_SPLAT` may be inconsistent with the result.
Diffstat (limited to 'spec/ruby/core/array/equal_value_spec.rb')
0 files changed, 0 insertions, 0 deletions