Skip to main content

check_context_fn

Function check_context_fn 

Source
pub fn check_context_fn(
    f: &FnDecl,
    caps: FnCaps,
    input: &ResolvedCommons,
    expr_types: &mut HashMap<ExprId, TypedExpr>,
    callees: &mut HashMap<ExprId, Callee>,
    errors: &mut Vec<CompileError>,
    refs: &mut RefSink,
    hints: &mut HintSink,
    locals: &mut LocalsSink,
    requirements: &mut RequirementSink,
    tys: &Types,
)
Expand description

#2868: check a context function that declares given, with its capabilities in scope.