Merge pull request #115829 from dalexeev/gds-fix-return-codegen
GDScript: Fix compiler generates incorrect bytecode for conversion return
This commit is contained in:
@@ -1047,6 +1047,7 @@ public:
|
||||
struct ReturnNode : public Node {
|
||||
ExpressionNode *return_value = nullptr;
|
||||
bool void_return = false;
|
||||
bool use_conversion = false;
|
||||
|
||||
ReturnNode() {
|
||||
type = RETURN;
|
||||
|
||||
Reference in New Issue
Block a user