### 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
return _is_drop_valid(p_data);
}
void EditorPropertyArray::drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) {
	ERR_FAIL_COND(!_is_drop_valid(p_data));
	Dictionary drag_data = p_data;
	if (drag_data.has("type") && String(drag_data["type"]) == "files") {
		Vector<String> files = drag_data["files"];
		Variant array = object->get_array();
		
		if (!array.is_array()) {
			initialize_array(array);
		} else {
			array = array.duplicate();
		}
		
		for (int i = 0; i < files.size(); i++) {
			String file = files[i];
			Ref<Resource> res = ResourceLoader::load(file);
			if (res.is_valid()) {
				array.call("push_back", res);
			}
		}
		emit_changed(get_edited_property(), array, "", false);
		update_property();
	}
}
void EditorPropertyArray::_notification(int p_what) {