Fixed a bug in keyword arguments in block parameters; fix
This is caused by incomplete fix in
MODIFY
mrbgems/mruby-compiler/core/parse.y
mrbgems/mruby-compiler/core/parse.y
@@ -3329,11 +3329,13 @@ f_kw : f_label arg
f_block_kw : f_label primary_value
{
- $$ = new_kw_arg(p, $1, $2);
+ $$ = new_kw_arg(p, $1, cons($2, locals_node(p)));
+ local_unnest(p);
}
| f_label
{
$$ = new_kw_arg(p, $1, 0);
+ local_unnest(p);
}
;

Fixed a bug in keyword arguments in block parameters; fix #4810

This is caused by incomplete fix in #4746