### Godot version

4.0.2.stable

### System information

Ubuntu 22.10

### Issue description

This happens when converting a godot3 project to a godot4 project.
Godot3 source
```gdscript
extends Node2D

export(int) var integer := 2
export(Resource) var resource: Resource = null
```

Result
```gdscript
extends Node2D

@export var integer: int := 2
@export var resource: Resource: Resource = null
```

Expected result
```gdscript
extends Node2D

@export var integer := 2
@export var resource: Resource = null
```

If someone can point to where in the code this might be fixed maybe I can fix it myself, sounds like a good first issue.


### Steps to reproduce

Open the given project (or any project really) and convert it to a godot 4 project

### Minimal reproduction project

[Conversion Tool Typing Problem.zip](https://github.com/godotengine/godot/files/11185334/Conversion.Tool.Typing.Problem.zip)

if (parts.size() >= 3) {
					line_new += starting_space + base_obj + "set_(" + parts[2] + ")\n";
				}
				// 
				if (parts.size() >= 4) {
					line_new += starting_space + base_obj + "set_floor__enabled(" + parts[3] + ")\n";
				}
				// 
				if (parts.size() >= 5) {
					line_new += starting_space + base_obj + "set_(" + parts[4] + ")\n";
				}
				// 
				if (parts.size() >= 6) {
					line_new += starting_space + base_obj + "set_(" + parts[5] + ")\n";
				}
				// 
				if (parts.size() >= 7) {
					line_new += starting_space + "# TODOConverter40 infinite_inertia were removed in Godot 4.0 - previous value `" + parts[6] + "`\n";
				}
				line_new += starting_space + base_obj + "move_and_slide()";
				if (!line.begins_with(starting_space + "move_and_slide_with_")) {
					line = line_new + "\n" + line.substr(0, start) + "velocity" + line.substr(end + start);
				} else {
					line = line_new + line.substr(end + start);
				}
			}
		}
	}
	// 
	if (contains_function_call(line, "sort_custom(")) {