You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Fix stack overflow in setter
This commit is contained in:
@@ -2014,6 +2014,8 @@ Error GDScriptCompiler::_parse_setter_getter(GDScript *p_script, const GDScriptP
|
|||||||
func_name = "@" + p_variable->identifier->name + "_getter";
|
func_name = "@" + p_variable->identifier->name + "_getter";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
codegen.function_name = func_name;
|
||||||
|
|
||||||
GDScriptDataType return_type;
|
GDScriptDataType return_type;
|
||||||
if (p_is_setter) {
|
if (p_is_setter) {
|
||||||
return_type.has_type = true;
|
return_type.has_type = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user