pub fn lower_function(
    db: &dyn CodegenDb,
    ctx: &mut Context,
    function: FunctionId
) -> FunctionDefinition