mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
codegen.c: need to pack argument when n==13 too.
Because we have extra 2 arguments coming (kw and rhs).
This commit is contained in:
@@ -1905,7 +1905,7 @@ gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val)
|
||||
}
|
||||
}
|
||||
if (tree->cdr->car) { /* keyword arguments */
|
||||
if (n == 14) {
|
||||
if (n == 13 || n == 14) {
|
||||
pop_n(n);
|
||||
genop_2(s, OP_ARRAY, cursp(), n);
|
||||
push();
|
||||
|
||||
Reference in New Issue
Block a user