codegen.c: `s->ainfo` should be zero along with `OP_ENTER(0)`.

parent 9f85c5e4
......@@ -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;
......
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