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

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-03-31 17:20:14 +09:00
parent 9f85c5e483
commit d5a4d5e393
+1
View File
@@ -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;