mirror of
https://github.com/godotengine/godot.git
synced 2025-04-01 00:41:35 +08:00
Merge pull request #47672 from Blackiris/fix-setter-stackoverflow
Fix stack overflow in setter
This commit is contained in:
commit
73a1253095
@ -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…
x
Reference in New Issue
Block a user