pub fn type_supertype<'a>(
index: &'a ProjectIndex,
key: &SymbolKey,
from_unit: Option<&str>,
) -> Option<(BaseType, &'a SiteRef)>Expand description
typeHierarchy/supertypes of a refined/opaque type: its builtin base and
where the declaration writes it — the only supertype Bynk has (a base is
always a primitive, never another declared type). None when the type has
no base, or it is opaque and the request does not come from the declaring
unit.