### 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

if (branch->patterns.size() > 0 && has_bind) {
			push_error(R"(Cannot use a variable bind with multiple patterns.)");
		}
		if (pattern->pattern_type == PatternNode::PT_REST) {
			push_error(R"(Rest pattern can only be used inside array and dictionary patterns.)");
		} else if (pattern->pattern_type == PatternNode::PT_BIND || pattern->pattern_type == PatternNode::PT_WILDCARD) {
			branch->has_wildcard = true;
		}
		branch->patterns.push_back(pattern);
	} while (match(GDScriptTokenizer::Token::COMMA));
	if (branch->patterns.is_empty()) {
		push_error(R"(No pattern found for "match" branch.)");
	}
	if (!consume(GDScriptTokenizer::Token::COLON, R"(Expected ":" after "match" patterns.)")) {
		complete_extents(branch);
		return nullptr;
	}
	SuiteNode *suite = alloc_node<SuiteNode>();
	if (branch->patterns.size() > 0) {
		for (const KeyValue<StringName, IdentifierNode *> &E : branch->patterns[0]->binds) {
			SuiteNode::Local local(E.value, current_function);
			local.type = SuiteNode::Local::PATTERN_BIND;
			suite->add_local(local);
		}
	}
	branch->block = parse_suite("match pattern block", suite);
	complete_extents(branch);
	return branch;
}
GDScriptParser::PatternNode *GDScriptParser::parse_match_pattern(PatternNode *p_root_pattern) {