Unverified Commit 4c28356b authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5578 from dearblue/OP_SENDB

Fixes keywords are lost with the `OP_SENDB`
parents c6c789d2 279e0122
......@@ -1573,7 +1573,7 @@ RETRY_TRY_BLOCK:
mrb_value recv;
if (0 < nk && nk < 15) { /* pack keyword arguments */
mrb_int kidx = a+n+1;
mrb_int kidx = a+(n==15?1:n)+1;
mrb_value kdict = hash_new_from_values(mrb, nk, regs+kidx);
regs[kidx] = kdict;
nk = 15;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment