| ... | @@ -2922,8 +2922,8 @@ static TypeTableEntry *analyze_bin_op_expr(CodeGen *g, ImportTableEntry *import, | ... | @@ -2922,8 +2922,8 @@ static TypeTableEntry *analyze_bin_op_expr(CodeGen *g, ImportTableEntry *import, |
| 2922 | { | 2922 | { |
| 2923 | AstNode **op1 = node->data.bin_op_expr.op1->parent_field; | 2923 | AstNode **op1 = node->data.bin_op_expr.op1->parent_field; |
| 2924 | AstNode **op2 = node->data.bin_op_expr.op2->parent_field; | 2924 | AstNode **op2 = node->data.bin_op_expr.op2->parent_field; |
| 2925 | TypeTableEntry *lhs_type = analyze_expression(g, import, context, expected_type, *op1); | 2925 | TypeTableEntry *lhs_type = analyze_expression(g, import, context, nullptr, *op1); |
| 2926 | TypeTableEntry *rhs_type = analyze_expression(g, import, context, expected_type, *op2); | 2926 | TypeTableEntry *rhs_type = analyze_expression(g, import, context, nullptr, *op2); |
| 2927 | | 2927 | |
| 2928 | AstNode *op_nodes[] = {*op1, *op2}; | 2928 | AstNode *op_nodes[] = {*op1, *op2}; |
| 2929 | TypeTableEntry *op_types[] = {lhs_type, rhs_type}; | 2929 | TypeTableEntry *op_types[] = {lhs_type, rhs_type}; |