1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix incomplete shadowing of member properties by parameters

This commit is contained in:
Dmitrii Maganov
2022-12-05 20:24:11 +02:00
parent f3e6750a7e
commit 97280279ee
4 changed files with 50 additions and 3 deletions

View File

@@ -115,6 +115,7 @@ class GDScriptCompiler {
bool _is_class_member_property(CodeGen &codegen, const StringName &p_name);
bool _is_class_member_property(GDScript *owner, const StringName &p_name);
bool _is_local_or_parameter(CodeGen &codegen, const StringName &p_name);
void _set_error(const String &p_error, const GDScriptParser::Node *p_node);