Skip to main content

lower_handler_given_ir

Function lower_handler_given_ir 

Source
pub fn lower_handler_given_ir(h: &Handler) -> Vec<CapRefIr>
Expand description

#1187’s slice 6 plumbing (sibling of lower_provider_given_ir): a handler’s own given clause, resolved independent of any full IrHandler/IrItem assembly — the standalone entry point for project.rs’s plan_agent_given_deps, EmitProjectCtx:: agent_method_givens, and emitter/workers.rs’s own given collection. Reuses lower_cap_ref_ir verbatim; a handler’s given is syntactically identical to a provider’s (bynk_syntax::ast::CapRef), so this is the same one-line adapter, not a new design.