gazelle_plugin
gazelle_plugin copied to clipboard
Compilation failed with castBIGINTOrNull in SMJ conditions
Describe the bug We meet this problem when there is a castBIGINTOrNull in SMJ conditions and WSCG is false.
return input_field_validity_1_4 && input_field_validity_0_3 && (input_field_1_4 < input_field_0_3);
~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
| |
| int64_t {aka long int}
std::string {aka std::basic_string<char>}
To Reproduce
Expected behavior No Exception thrown.
Additional context
It seems that we still use CodeGenNodeVisitor
to generate codes, which does not works well with case
function. Maybe we can use ExpressionCodegenVisitor
instead?