mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix regression: Enum inference with compare operators #2241
This commit is contained in:
@@ -3328,6 +3328,7 @@ static inline LLVMValueRef llvm_emit_mult_int(GenContext *c, Type *type, LLVMVal
|
||||
|
||||
static void llvm_emit_slice_comp(GenContext *c, BEValue *be_value, BEValue *lhs, BEValue *rhs, BinaryOp binary_op)
|
||||
{
|
||||
|
||||
bool want_match = binary_op == BINARYOP_EQ;
|
||||
|
||||
Type *array_base_type = type_lowering(lhs->type->array.base);
|
||||
|
||||
Reference in New Issue
Block a user