diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-09-03 14:02:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 14:02:24 -0700 |
commit | 77596fb7a91cc119b25ac9e19b3c8682709765b4 (patch) | |
tree | 93013a6d9402c577c3f9ea01789d7a69e8e414da /test/ruby/test_jit.rb | |
parent | 39c3252cd175074581855e5f9681cc723c15ff72 (diff) |
Do not turn on keyword_init for Struct subclass if keyword hash is empty
This was accidentally turned on because there was no checking for
Qundef.
Also, since only a single keyword is currently supported, simplify
the rb_get_kwargs call.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2423
Merged-By: jeremyevans <code@jeremyevans.net>
Diffstat (limited to 'test/ruby/test_jit.rb')
0 files changed, 0 insertions, 0 deletions