### 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.
if (check(GDScriptTokenizer::Token::BRACE_CLOSE)) {
			break; 
		}
		if (consume(GDScriptTokenizer::Token::IDENTIFIER, R"(Expected identifier for enum key.)")) {
			EnumNode::Value item;
			GDScriptParser::IdentifierNode *identifier = parse_identifier();
#ifdef DEBUG_ENABLED
			if (!named) { 
				for (MethodInfo &info : gdscript_funcs) {
					if (info.name == identifier->name) {
						push_warning(identifier, GDScriptWarning::SHADOWED_GLOBAL_IDENTIFIER, "enum member", identifier->name, "built-in function");
					}
				}
				if (Variant::has_utility_function(identifier->name)) {
					push_warning(identifier, GDScriptWarning::SHADOWED_GLOBAL_IDENTIFIER, "enum member", identifier->name, "built-in function");
				} else if (ClassDB::class_exists(identifier->name)) {
					push_warning(identifier, GDScriptWarning::SHADOWED_GLOBAL_IDENTIFIER, "enum member", identifier->name, "global class");
				}
			}
#endif
			item.identifier = identifier;
			item.parent_enum = enum_node;
			item.line = previous.start_line;
			item.leftmost_column = previous.leftmost_column;
			item.rightmost_column = previous.rightmost_column;
			if (elements.has(item.identifier->name)) {
				push_error(vformat(R"(Name "%s" was already in this enum (at line %d).)", item.identifier->name, elements[item.identifier->name]), item.identifier);
			} else if (!named) {
				if (current_class->members_indices.has(item.identifier->name)) {
					push_error(vformat(R"(Name "%s" is already used as a class %s.)", item.identifier->name, current_class->get_member(item.identifier->name).get_type_name()));