### Godot version

4.0.beta.16

### System information

N/A

### Issue description

```gdscript
func _run() -> void:
	click_this_function_doesnt_jump_to_its_line() # this works
	self.click_this_function_doesnt_jump_to_its_line() # add self breaks click-jump























































func click_this_function_doesnt_jump_to_its_line():
	pass
```

Ctrl + Click on self.click_this_function_doesnt_jump_to_its_line(), it won't jump to its definition.

### Steps to reproduce

N/A

### Minimal reproduction project

[godot.4.0.beta15.bugs.0.zip](https://github.com/godotengine/godot/files/10532051/godot.4.0.beta15.bugs.0.zip)

String symbol_lookup_word = "";
	Point2i symbol_lookup_pos;
	
	struct ThemeCache {
		
		Color code_folding_color = Color(1, 1, 1);
		Ref<Texture2D> can_fold_icon;
		Ref<Texture2D> folded_icon;
		Ref<Texture2D> folded_eol_icon;
		Color breakpoint_color = Color(1, 1, 1);
		Ref<Texture2D> breakpoint_icon = Ref<Texture2D>();
		Color bookmark_color = Color(1, 1, 1);
		Ref<Texture2D> bookmark_icon = Ref<Texture2D>();
		Color executing_line_color = Color(1, 1, 1);
		Ref<Texture2D> executing_line_icon = Ref<Texture2D>();
		Color line_number_color = Color(1, 1, 1);
		
		Ref<StyleBox> code_completion_style;
		int code_completion_icon_separation = 0;
		int code_completion_max_width = 0;
		int code_completion_max_lines = 7;
		int code_completion_scroll_width = 0;
		Color code_completion_scroll_color = Color(0, 0, 0, 0);
		Color code_completion_scroll_hovered_color = Color(0, 0, 0, 0);
		Color code_completion_background_color = Color(0, 0, 0, 0);
		Color code_completion_selected_color = Color(0, 0, 0, 0);
		Color code_completion_existing_color = Color(0, 0, 0, 0);
		
		Ref<StyleBox> code_hint_style;
		Color code_hint_color;