mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Fix stack overflow in setter
This commit is contained in:
parent
55faf1c874
commit
43c1c680f0
1 changed files with 2 additions and 0 deletions
|
|
@ -2014,6 +2014,8 @@ Error GDScriptCompiler::_parse_setter_getter(GDScript *p_script, const GDScriptP
|
|||
func_name = "@" + p_variable->identifier->name + "_getter";
|
||||
}
|
||||
|
||||
codegen.function_name = func_name;
|
||||
|
||||
GDScriptDataType return_type;
|
||||
if (p_is_setter) {
|
||||
return_type.has_type = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue