### 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
head = alloc_node<ClassNode>();
	head->fqcn = script_path;
	current_class = head;
	bool can_have_class_or_extends = true;
	while (!check(GDScriptTokenizer::Token::TK_EOF)) {
		if (match(GDScriptTokenizer::Token::ANNOTATION)) {
			AnnotationNode *annotation = parse_annotation(AnnotationInfo::SCRIPT | AnnotationInfo::STANDALONE | AnnotationInfo::CLASS_LEVEL);
			if (annotation != nullptr) {
				if (annotation->applies_to(AnnotationInfo::SCRIPT)) {
					
					if (annotation->name == SNAME("@icon")) {
						annotation->apply(this, head);