fn assign_return_types(prog: &mut SirProgram) -> WeldResult<()> {
    for funcs in 0..prog.funcs.len() {
        assign_return_types_helper(prog, funcs)?;
    }
    Ok(())
}
Assigns return types to each function in the program.
weld/src/sir/mod.rs