Merge pull request #75605 from anvilfolk/type-base

Make GDScript type not found errors more informative.
This commit is contained in:
Rémi Verschelde committed 2023-04-24 16:43:32 +02:00
commit 54b0e8123e
3 files changed
+8 -3

No files matched your search

-3
View File
@@ -4144,9 +4144,6 @@ String GDScriptParser::DataType::to_string() const {
}
return native_type.operator String();
case CLASS:
if (is_meta_type) {
return GDScript::get_class_static();
}
if (class_type->identifier != nullptr) {
return class_type->identifier->name.operator String();
}