summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_byte_codegen.h
diff options
context:
space:
mode:
authorThakee Nathees <thakeenathees@gmail.com>2020-09-05 03:16:23 +0530
committerThakee Nathees <thakeenathees@gmail.com>2020-11-28 20:42:57 +0530
commitd42b305377d31a4fcf3e01b697a34d10a546b352 (patch)
tree0f8757665976a6643c38507f213fbb133d39bb28 /modules/gdscript/gdscript_byte_codegen.h
parent307ea716ccb4171a9b7e8693c4aab5a5751bf62f (diff)
GDScript default argument override bug fix
Fix: #41766
Diffstat (limited to 'modules/gdscript/gdscript_byte_codegen.h')
-rw-r--r--modules/gdscript/gdscript_byte_codegen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_byte_codegen.h b/modules/gdscript/gdscript_byte_codegen.h
index 62438b6dd2..f3a333c4d7 100644
--- a/modules/gdscript/gdscript_byte_codegen.h
+++ b/modules/gdscript/gdscript_byte_codegen.h
@@ -239,6 +239,7 @@ public:
virtual void write_assign(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;
virtual void write_cast(const Address &p_target, const Address &p_source, const GDScriptDataType &p_type) override;
virtual void write_call(const Address &p_target, const Address &p_base, const StringName &p_function_name, const Vector<Address> &p_arguments) override;
virtual void write_super_call(const Address &p_target, const StringName &p_function_name, const Vector<Address> &p_arguments) override;