pub fn emit_block_as_expr(
block: &Block,
ctx: &mut FuncContext,
f: &mut Function,
) -> CodegenResult<()>Expand description
Emit a block’s statements and leave the last expression’s value on the stack. If the block has no statements, pushes nil.