### 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.
hint_prefix += "/" + itos(variable->export_info.hint);
			}
			variable->export_info.hint = PROPERTY_HINT_TYPE_STRING;
			variable->export_info.hint_string = hint_prefix + ":" + variable->export_info.hint_string;
			variable->export_info.type = Variant::ARRAY;
		}
	} else if (p_annotation->name == SNAME("@export_enum")) {
		Variant::Type enum_type = Variant::INT;
		if (export_type.kind == DataType::BUILTIN && export_type.builtin_type == Variant::STRING) {
			enum_type = Variant::STRING;
		} else if (export_type.is_variant() && variable->initializer != nullptr) {
			DataType initializer_type = variable->initializer->get_datatype();
			if (initializer_type.kind == DataType::BUILTIN && initializer_type.builtin_type == Variant::STRING) {
				enum_type = Variant::STRING;
			}
		}
		variable->export_info.type = enum_type;
		if (!export_type.is_variant() && (export_type.kind != DataType::BUILTIN || export_type.builtin_type != enum_type)) {
			push_error(vformat(R"("@export_enum" annotation requires a variable of type "int" or "String" but type "%s" was given instead.)", export_type.to_string()), variable);
			return false;
		}
	} else {
		
		if (!export_type.is_variant() && (export_type.kind != DataType::BUILTIN || export_type.builtin_type != t_type)) {
			
			if ((t_type != Variant::FLOAT || export_type.builtin_type != Variant::INT) && (t_type != Variant::INT || export_type.builtin_type != Variant::FLOAT)) {
				push_error(vformat(R"("%s" annotation requires a variable of type "%s" but type "%s" was given instead.)", p_annotation->name.operator String(), Variant::get_type_name(t_type), export_type.to_string()), variable);
				return false;
			}
		}