### Godot version

9f12e7b52d944

### System information

arch linux

### Issue description

Attempting to edit from the editor a typed array exported from a tool script fails, any value is immediately reset, setters are never called.

### Steps to reproduce

Create a script such as follows and try to add and then change items of the array in the inspector.


```gdscript
@tool
extends Node

@export var x: Array[String]
```

### Minimal reproduction project

n/a
}
EditorPropertyNil::EditorPropertyNil() {
	Label *prop_label = memnew(Label);
	prop_label->set_text("<null>");
	add_child(prop_label);
}
void EditorPropertyText::_set_read_only(bool p_read_only) {
	text->set_editable(!p_read_only);
}
void EditorPropertyText::_text_submitted(const String &p_string) {
	if (updating) {
		return;
	}
	if (text->has_focus()) {
		text->release_focus();
		_text_changed(p_string);
	}
}
void EditorPropertyText::_text_changed(const String &p_string) {
	if (updating) {
		return;
	}
	if (string_name) {
		emit_changed(get_edited_property(), StringName(p_string));
	} else {
		emit_changed(get_edited_property(), p_string);
	}
}
void EditorPropertyText::update_property() {