diff options
author | Rune <spartacrafter@gmail.com> | 2022-11-08 03:51:20 -0800 |
---|---|---|
committer | Rune <spartacrafter@gmail.com> | 2022-11-13 02:29:21 -0800 |
commit | bce6f1792ebce5de31700e72f57830e5d87b419a (patch) | |
tree | a628d48ba7415eaa906d85afdfa63d2a2d68ed94 /modules/gdscript/gdscript_analyzer.cpp | |
parent | e25d9281d4f6f0b5b4d972b25cddaa1009ad1d26 (diff) | |
download | redot-engine-bce6f1792ebce5de31700e72f57830e5d87b419a.tar.gz |
GDScript compiler subclass bugfixes
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
-rw-r--r-- | modules/gdscript/gdscript_analyzer.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/gdscript/gdscript_analyzer.cpp b/modules/gdscript/gdscript_analyzer.cpp index 704dda8045..8da77b9e5b 100644 --- a/modules/gdscript/gdscript_analyzer.cpp +++ b/modules/gdscript/gdscript_analyzer.cpp @@ -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)) { |