mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix return when value expected
This commit is contained in:
@@ -2331,6 +2331,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
genop(s, MKOP_ABx(OP_EXEC, cursp(), idx));
|
||||
if (val) {
|
||||
push();
|
||||
push();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user