mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Need to support multiple ** splats in argument list; fix #4106
This commit is contained in:
@@ -1786,7 +1786,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
push();
|
||||
}
|
||||
codegen(s, tree->car->cdr, VAL);
|
||||
if (len > 0) {
|
||||
if (len > 0 || update) {
|
||||
pop(); pop();
|
||||
genop_1(s, OP_HASHCAT, cursp());
|
||||
push();
|
||||
|
||||
Reference in New Issue
Block a user