### Godot version

4.0.2

### System information

Windows 10

### Issue description

EDIT: this was fixed by removing the offending files listed with the MRP and then dragging them back in from my desktop after opening the project~

I was developing my game then suddenly this started happening. I can no longer playtest my game.
I am not 100% sure what caused this but I believe at the time I was making a new inherited scene, saved it, then moved some scenes in the FileSystem tab?

![image](https://user-images.githubusercontent.com/75141902/235264827-62419c7d-963b-4002-9452-a6493a9bfe25.png)


### Steps to reproduce

No idea aaa- x-x

### Minimal reproduction project

Since I have no idea what caused it here's my early project :'D
https://drive.google.com/file/d/14JFZ420AelUNjBIth78msHY29rNjB55_/view?usp=share_link

I was working on these when the error occurred:
- Slot_0.tcsn
- Slot_Clickable.tscn
- Slot_Orphan.tscn
- Slot_Orphan.gd

push_error(vformat(R"(Parameter with name "%s" was already declared for this %s.)", parameter->identifier->name, p_type));
			} else {
				p_function->parameters_indices[parameter->identifier->name] = p_function->parameters.size();
				p_function->parameters.push_back(parameter);
				p_body->add_local(parameter, current_function);
			}
		} while (match(GDScriptTokenizer::Token::COMMA));
	}
	pop_multiline();
	consume(GDScriptTokenizer::Token::PARENTHESIS_CLOSE, vformat(R"*(Expected closing ")" after %s parameters.)*", p_type));
	if (match(GDScriptTokenizer::Token::FORWARD_ARROW)) {
		make_completion_context(COMPLETION_TYPE_NAME_OR_VOID, p_function);
		p_function->return_type = parse_type(true);
		if (p_function->return_type == nullptr) {
			push_error(R"(Expected return type or "void" after "->".)");
		}
	}
	if (!p_function->source_lambda && p_function->identifier && p_function->identifier->name == GDScriptLanguage::get_singleton()->strings._static_init) {
		if (!p_function->is_static) {
			push_error(R"(Static constructor must be declared static.)");
		}
		if (p_function->parameters.size() != 0) {
			push_error(R"(Static constructor cannot have parameters.)");
		}
		current_class->has_static_data = true;
	}
	
	consume(GDScriptTokenizer::Token::COLON, vformat(R"(Expected ":" after %s declaration.)", p_type));
}
GDScriptParser::FunctionNode *GDScriptParser::parse_function(bool p_is_static) {