diff --git a/src/codegen.c b/src/codegen.c index 7553f3fd..43ec0e6a 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -1338,8 +1338,6 @@ codegen_lambda(codegen_state *state, pic_value obj) { /* body */ codegen(state, body); - state->cxt->code[state->cxt->clen].insn = OP_RET; - state->cxt->clen++; } return pop_codegen_context(state); }