You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Fix error message for unfound type
This commit is contained in:
@@ -731,7 +731,7 @@ GDScriptParser::DataType GDScriptAnalyzer::resolve_datatype(GDScriptParser::Type
|
||||
}
|
||||
}
|
||||
if (!result.is_set()) {
|
||||
push_error(vformat(R"("%s" was not found in the current scope.)", first), p_type);
|
||||
push_error(vformat(R"(Could not find type "%s" in the current scope.)", first), p_type);
|
||||
return bad_type;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user