### 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
}
EditorPropertyObjectID::EditorPropertyObjectID() {
	edit = memnew(Button);
	add_child(edit);
	add_focusable(edit);
	edit->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_ELLIPSIS);
	edit->connect("pressed", callable_mp(this, &EditorPropertyObjectID::_edit_pressed));
}
void EditorPropertySignal::_edit_pressed() {
	Signal signal = get_edited_property_value();
	emit_signal(SNAME("object_id_selected"), get_edited_property(), signal.get_object_id());
}
void EditorPropertySignal::update_property() {
	String type = base_type;
	Signal signal = get_edited_property_value();
	edit->set_text("Signal: " + signal.get_name());
	edit->set_disabled(false);
	edit->set_icon(get_theme_icon(SNAME("Signals"), SNAME("EditorIcons")));
}
void EditorPropertySignal::_bind_methods() {
}
EditorPropertySignal::EditorPropertySignal() {
	edit = memnew(Button);
	add_child(edit);
	add_focusable(edit);
	edit->connect("pressed", callable_mp(this, &EditorPropertySignal::_edit_pressed));
}
void EditorPropertyCallable::update_property() {