1506 claimed to handle logical operations on strings, but as it turns out, things break. #2598 adds support for string literals, but the case of a string variable still fails with a segfault. The chief reason, as pointed out by @Shaikh-Ubaid is that the expr_value of the operands, in case of a string variable, result into a nullptr.
1506 claimed to handle logical operations on strings, but as it turns out, things break. #2598 adds support for string literals, but the case of a string variable still fails with a segfault. The chief reason, as pointed out by @Shaikh-Ubaid is that the
expr_value
of the operands, in case of a string variable, result into anullptr
.The fix for this issue can help us to enable logical operations on string variables.