### 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
switch (p_what) {
		case NOTIFICATION_THEME_CHANGED:
		case NOTIFICATION_ENTER_TREE: {
			Ref<Texture2D> df = get_theme_icon(SNAME("DistractionFree"), SNAME("EditorIcons"));
			open_big_text->set_icon(df);
			Ref<Font> font;
			int font_size;
			if (expression) {
				font = get_theme_font(SNAME("expression"), SNAME("EditorFonts"));
				font_size = get_theme_font_size(SNAME("expression_size"), SNAME("EditorFonts"));
				text->add_theme_font_override("font", font);
				text->add_theme_font_size_override("font_size", font_size);
				if (big_text) {
					big_text->add_theme_font_override("font", font);
					big_text->add_theme_font_size_override("font_size", font_size);
				}
			} else {
				font = get_theme_font(SNAME("font"), SNAME("TextEdit"));
				font_size = get_theme_font_size(SNAME("font_size"), SNAME("TextEdit"));
			}
			text->set_custom_minimum_size(Vector2(0, font->get_height(font_size) * 6));
		} break;
	}
}
void EditorPropertyMultilineText::_bind_methods() {