diff options
author | Dmitrii Maganov <vonagam@gmail.com> | 2022-12-05 20:24:11 +0200 |
---|---|---|
committer | Dmitrii Maganov <vonagam@gmail.com> | 2022-12-06 00:22:56 +0200 |
commit | 97280279ee45b628f9786548f6d7979836fd6ac5 (patch) | |
tree | bde548fa5d1ed4687e32a1d7e0dc5bbecaa60840 /modules/gdscript/gdscript_compiler.h | |
parent | f3e6750a7e4702918e05f42b1376e30e652f2f90 (diff) | |
download | redot-engine-97280279ee45b628f9786548f6d7979836fd6ac5.tar.gz |
Fix incomplete shadowing of member properties by parameters
Diffstat (limited to 'modules/gdscript/gdscript_compiler.h')
-rw-r--r-- | modules/gdscript/gdscript_compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_compiler.h b/modules/gdscript/gdscript_compiler.h index 45ca4fe342..cba585e5a5 100644 --- a/modules/gdscript/gdscript_compiler.h +++ b/modules/gdscript/gdscript_compiler.h @@ -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); |