fn can_coerce_for_relational(
context: &CompilationContext,
left_type: &TypeId,
right_type: &TypeId,
) -> bool
Expand description
Checks if types are compatible for unspecified literal coercion in relational operations
§Arguments
context
- The compilation contextleft_type
- The type of the left operandright_type
- The type of the right operand
§Returns
true
if one operand is an unspecified literal compatible with the other,false
otherwise