mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
codegen.c: s->ainfo should be zero along with OP_ENTER(0).
This commit is contained in:
@@ -879,6 +879,7 @@ lambda_body(codegen_scope *s, node *tree, int blk)
|
||||
tree = tree->cdr;
|
||||
if (tree->car == NULL) {
|
||||
genop_W(s, OP_ENTER, 0);
|
||||
s->ainfo = 0;
|
||||
}
|
||||
else {
|
||||
mrb_aspec a;
|
||||
|
||||
Reference in New Issue
Block a user