mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Merge pull request #62707 from YuriSizov/gdscript-group-those-props
This commit is contained in:
commit
ea61cd3b32
8 changed files with 123 additions and 15 deletions
|
@ -950,6 +950,8 @@ static void _find_identifiers_in_class(const GDScriptParser::ClassNode *p_class,
|
|||
}
|
||||
option = ScriptLanguage::CodeCompletionOption(member.signal->identifier->name, ScriptLanguage::CODE_COMPLETION_KIND_SIGNAL, location);
|
||||
break;
|
||||
case GDScriptParser::ClassNode::Member::GROUP:
|
||||
break; // No-op, but silences warnings.
|
||||
case GDScriptParser::ClassNode::Member::UNDEFINED:
|
||||
break;
|
||||
}
|
||||
|
@ -2082,6 +2084,8 @@ static bool _guess_identifier_type_from_base(GDScriptParser::CompletionContext &
|
|||
r_type.type.kind = GDScriptParser::DataType::CLASS;
|
||||
r_type.type.class_type = member.m_class;
|
||||
return true;
|
||||
case GDScriptParser::ClassNode::Member::GROUP:
|
||||
return false; // No-op, but silences warnings.
|
||||
case GDScriptParser::ClassNode::Member::UNDEFINED:
|
||||
return false; // Unreachable.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue