Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Judgment codegen_function at crates/formality-rust/src/codegen/mod.rs:66

Signature:

codegen_function(global: CodegenGlobal, key: MonoKey,) => (MiniRustFunction, CodegenGlobal)

The number on each rule’s conclusion is positive coverage; the number on each premise is negative coverage. Click a number to browse the tests.

function
LineCoverageSource
74(let (fn_data, body) = resolve_fn_body(global, key)?)
75N/A(let cfn = CodegenFn::new(&global.crates, &fn_data.output_ty))
76(let (ret_local, arg_locals, scope, cfn) = setup_fn_args(cfn, fn_data)?)
77(codegen_block(global, cfn, scope, body) => (code, global, cfn))
78N/A(let function = build_function(cfn, code, ret_local, arg_locals))
──────── ("function")
80(codegen_function(global, key) => (function, global))