diff options
author | Yuri Sizov <yuris@humnom.net> | 2022-08-06 02:52:27 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2022-08-08 16:36:01 +0300 |
commit | beceba85da9d53dad33c1a0d3f59c24e966b1c35 (patch) | |
tree | 437b0f04ab6bae2e6a79a5a5f7de0255c2164249 /core | |
parent | c8cdc10902312e19fcdaa3a39755f783649d6c81 (diff) |
Add checks for empty/unnamed arguments to make_rst.py
Diffstat (limited to 'core')
-rw-r--r-- | core/object/method_bind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/method_bind.cpp b/core/object/method_bind.cpp index a4474ea53b..0edc7a90c2 100644 --- a/core/object/method_bind.cpp +++ b/core/object/method_bind.cpp @@ -63,7 +63,7 @@ PropertyInfo MethodBind::get_argument_info(int p_argument) const { PropertyInfo info = _gen_argument_type_info(p_argument); #ifdef DEBUG_METHODS_ENABLED - info.name = p_argument < arg_names.size() ? String(arg_names[p_argument]) : String("arg" + itos(p_argument)); + info.name = p_argument < arg_names.size() ? String(arg_names[p_argument]) : String("_unnamed_arg" + itos(p_argument)); #endif return info; } |