Skip to main content

super_called_from_derivative

Function super_called_from_derivative 

Source
fn super_called_from_derivative(
    hir: &Hir<'_>,
    base_contract_id: ContractId,
    name: &Symbol,
    super_called: &HashMap<Symbol, HashSet<ContractId>>,
) -> bool
Expand description

Returns true if any strict descendant of base_contract_id contains a super.<name> call (the only callsites that can resolve into base_contract_id).