### Godot version

4.0-rc1

### System information

Windows 10

### Issue description

The code: `@export @onready var camera_system : Node3D`

Is throwing: `Line 5:The "@onready" annotation will make the default value to be set after the "@export" takes effect and will override it. (Warning treated as error.)` and is crashing the game.

Unchecking "Treat Warning as Errors" seems to have no effect:

![imagen](https://user-images.githubusercontent.com/248383/217900756-8e214c40-68fb-4fb2-8509-a1e689725930.png)

![imagen](https://user-images.githubusercontent.com/248383/217901253-3b758ebc-48e9-40fe-8d77-16fce7cbae88.png)


### Steps to reproduce

- Write `@export @onready var some_var : Node3D`
- In Project Settings, uncheck `Treat Warning as Errors`
- Try to run the project, a `Parser Error` will be thrown.

### Minimal reproduction project

It's as simple as adding one line of code, so I'm not sure a MRP is needed.
} else if (head->has_member(first)) {
		class_names = p_qualified_name.split("::");
		GDScriptParser::ClassNode::Member member = head->get_member(first);
		if (member.type == GDScriptParser::ClassNode::Member::CLASS) {
			result = member.m_class;
		}
	}
	
	for (int i = 1; result != nullptr && i < class_names.size(); i++) {
		String current_name = class_names[i];
		GDScriptParser::ClassNode *next = nullptr;
		if (result->has_member(current_name)) {
			GDScriptParser::ClassNode::Member member = result->get_member(current_name);
			if (member.type == GDScriptParser::ClassNode::Member::CLASS) {
				next = member.m_class;
			}
		}
		result = next;
	}
	return result;
}
bool GDScriptParser::has_class(const GDScriptParser::ClassNode *p_class) const {
	if (head->fqcn.is_empty() && p_class->fqcn.get_slice("::", 0).is_empty()) {
		return p_class == head;
	} else if (p_class->fqcn.begins_with(head->fqcn)) {
		return find_class(p_class->fqcn.trim_prefix(head->fqcn)) == p_class;
	}
	return false;
}
GDScriptParser::ClassNode *GDScriptParser::parse_class() {