You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Properly detect native class on static call optimization
This commit is contained in:
@@ -2277,6 +2277,7 @@ static bool _guess_identifier_type(GDScriptParser::CompletionContext &p_context,
|
||||
case GDScriptParser::IdentifierNode::MEMBER_CLASS:
|
||||
case GDScriptParser::IdentifierNode::INHERITED_VARIABLE:
|
||||
case GDScriptParser::IdentifierNode::STATIC_VARIABLE:
|
||||
case GDScriptParser::IdentifierNode::NATIVE_CLASS:
|
||||
can_be_local = false;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user