You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GDScript compiler subclass bugfixes
This commit is contained in:
@@ -213,16 +213,6 @@ Error GDScriptAnalyzer::resolve_inheritance(GDScriptParser::ClassNode *p_class,
|
||||
return OK;
|
||||
}
|
||||
|
||||
if (p_class == parser->head) {
|
||||
if (p_class->identifier) {
|
||||
p_class->fqcn = p_class->identifier->name;
|
||||
} else {
|
||||
p_class->fqcn = parser->script_path;
|
||||
}
|
||||
} else {
|
||||
p_class->fqcn = p_class->outer->fqcn + "::" + String(p_class->identifier->name);
|
||||
}
|
||||
|
||||
if (p_class->identifier) {
|
||||
StringName class_name = p_class->identifier->name;
|
||||
if (class_exists(class_name)) {
|
||||
|
||||
Reference in New Issue
Block a user