gazelle_plugin icon indicating copy to clipboard operation
gazelle_plugin copied to clipboard

Compilation failed with castBIGINTOrNull in SMJ conditions

Open jackylee-ch opened this issue 2 years ago • 0 comments

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?

jackylee-ch avatar Oct 13 '22 13:10 jackylee-ch