pub fn evaluate_and_promote(
context: &mut dyn ContextLike,
left: &dyn ExpressionLike,
right: &dyn ExpressionLike,
) -> Result<(Arc<Value>, Arc<Value>)>Expand description
Evaluate two expressions and promote the right Value to the left’s type.
Used by binary operators to apply AIMX type promotion rules.
Returns (left_value, promoted_right_value) on success.