mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 18:33:36 +00:00
GDScript: Access outer scope classes
This commit is contained in:
parent
cb85ef6c38
commit
0ff0f64cd4
3 changed files with 28 additions and 0 deletions
|
|
@ -2682,6 +2682,11 @@ void GDScriptAnalyzer::reduce_identifier_from_base(GDScriptParser::IdentifierNod
|
|||
p_identifier->is_constant = false;
|
||||
return;
|
||||
} break;
|
||||
case GDScriptParser::ClassNode::Member::CLASS: {
|
||||
resolve_class_interface(member.m_class);
|
||||
p_identifier->set_datatype(member.m_class->get_datatype());
|
||||
return;
|
||||
} break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue