pub fn emit_function(
generics: &[String],
ctx: &CodegenCtx<'_>,
params: &[TypedParam],
body: StmtId,
return_type: &Type,
) -> Result<(Function, Vec<(u64, Span)>), CompilerFailure>pub fn emit_function(
generics: &[String],
ctx: &CodegenCtx<'_>,
params: &[TypedParam],
body: StmtId,
return_type: &Type,
) -> Result<(Function, Vec<(u64, Span)>), CompilerFailure>