### Godot version

4.0.2.stable

### System information

Windows 10

### Issue description

Engine keeps spamming me this
![изображение](https://user-images.githubusercontent.com/89089095/232018878-1584ed55-5867-4883-9519-67b82ef93813.png)


### Steps to reproduce

No steps, issue happens from time to time absolutely randomly

### Minimal reproduction project

N/A
if (builtin_types.is_empty()) {
		for (int i = 1; i < Variant::VARIANT_MAX; i++) {
			builtin_types[Variant::get_type_name((Variant::Type)i)] = (Variant::Type)i;
		}
	}
	if (builtin_types.has(p_type)) {
		return builtin_types[p_type];
	}
	return Variant::VARIANT_MAX;
}
void GDScriptParser::cleanup() {