diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-05-26 20:34:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 20:34:43 +0200 |
commit | 78bbb2cae16bdb2799c2e6bf91eb802d373e4284 (patch) | |
tree | 106d1d38db362d452ccc32f258c853a02ba19a20 /modules/gdscript/gdscript_byte_codegen.h | |
parent | 27baa12670fbcde6e9336cbaa7bed7ae3aa20944 (diff) | |
parent | c7459e3855c07b63fb6235b86ef459f19641fb0f (diff) |
Merge pull request #49112 from vnen/gdscript-assign-type-check
GDScript: Use analyzer data to decide assignment conversion
Diffstat (limited to 'modules/gdscript/gdscript_byte_codegen.h')
-rw-r--r-- | modules/gdscript/gdscript_byte_codegen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_byte_codegen.h b/modules/gdscript/gdscript_byte_codegen.h index f8c05fea83..b1f3cd5fb3 100644 --- a/modules/gdscript/gdscript_byte_codegen.h +++ b/modules/gdscript/gdscript_byte_codegen.h @@ -450,6 +450,7 @@ public: virtual void write_set_member(const Address &p_value, const StringName &p_name) override; virtual void write_get_member(const Address &p_target, const StringName &p_name) override; virtual void write_assign(const Address &p_target, const Address &p_source) override; + virtual void write_assign_with_conversion(const Address &p_target, const Address &p_source) override; virtual void write_assign_true(const Address &p_target) override; virtual void write_assign_false(const Address &p_target) override; virtual void write_assign_default_parameter(const Address &p_dst, const Address &p_src) override; |