1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #40951 from bruvzg/gds_cleanup

[GDScript] Add static HashMap cleanup.
This commit is contained in:
George Marques
2020-08-08 10:44:57 -03:00
committed by GitHub
5 changed files with 15 additions and 0 deletions

View File

@@ -71,6 +71,10 @@ static StringName get_real_class_name(const StringName &p_source) {
return p_source;
}
void GDScriptAnalyzer::cleanup() {
underscore_map.clear();
}
static GDScriptParser::DataType make_callable_type(const MethodInfo &p_info) {
GDScriptParser::DataType type;
type.type_source = GDScriptParser::DataType::ANNOTATED_EXPLICIT;