Skip to main content

resolve_tuple_return

Function resolve_tuple_return 

Source
pub fn resolve_tuple_return(
    db: &dyn Db,
    api: &EngineApi,
    names: &[SmolStr],
) -> Ty
Expand description

Resolve a ## @return-tuple(T0, T1, …) doc-tag’s element type names to a Ty::Tuple — the ONE mapping both the same-file call path (infer::func_call_return_ty) and the cross-file member table (queries::script_class) use, so the two can never diverge.