pub fn upper_bound(
ir: &mut Ir,
ctx: &TypeContext,
type_exprs: &[InstId],
) -> InstIdExpand description
Computes the upper bound (least common supertype) of a set of type expressions.
Flattens unions, eliminates redundant types via SetConforms, returns single
type or Union. Returns EmptyType for empty input, /any if any input is /any.