summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRobertMasek <51871255+RobertMasek@users.noreply.github.com>2022-11-05 21:39:45 -0500
committerRobertMasek <51871255+RobertMasek@users.noreply.github.com>2022-11-05 21:39:45 -0500
commit79234d8916733a982bb398631b153c63719997ce (patch)
tree3fe9f2a88846ce2fb8a7a4876598ebe239d4f181 /modules
parent889868cbbc8beac74d5f49f9b7ef41efc4ae7d5a (diff)
downloadredot-engine-79234d8916733a982bb398631b153c63719997ce.tar.gz
Add case for COMPLETION_PROPERTY_METHOD
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gdscript_editor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index f33d1409bc..4dc6ebcc1b 100644
--- a/modules/gdscript/gdscript_editor.cpp
+++ b/modules/gdscript/gdscript_editor.cpp
@@ -3268,7 +3268,8 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co
}
case GDScriptParser::COMPLETION_ASSIGN:
case GDScriptParser::COMPLETION_CALL_ARGUMENTS:
- case GDScriptParser::COMPLETION_IDENTIFIER: {
+ case GDScriptParser::COMPLETION_IDENTIFIER:
+ case GDScriptParser::COMPLETION_PROPERTY_METHOD: {
GDScriptParser::DataType base_type;
if (context.current_class) {
if (context.type != GDScriptParser::COMPLETION_SUPER_METHOD) {