File tree 1 file changed +6
-1
lines changed
godel-script/godel-frontend/src/sema
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -405,7 +405,12 @@ bool ungrounded_parameter_checker::check_non_binding_binary_operator(binary_oper
405
405
return node->get_operator_type () == binary_operator::type::add ||
406
406
node->get_operator_type () == binary_operator::type::sub ||
407
407
node->get_operator_type () == binary_operator::type::mult ||
408
- node->get_operator_type () == binary_operator::type::div ;
408
+ node->get_operator_type () == binary_operator::type::div ||
409
+ node->get_operator_type () == binary_operator::type::compare_not_equal ||
410
+ node->get_operator_type () == binary_operator::type::compare_less ||
411
+ node->get_operator_type () == binary_operator::type::compare_less_equal ||
412
+ node->get_operator_type () == binary_operator::type::compare_great ||
413
+ node->get_operator_type () == binary_operator::type::compare_great_equal;
409
414
}
410
415
411
416
bool ungrounded_parameter_checker::visit_call_expr (call_expr* node) {
You can’t perform that action at this time.
0 commit comments