### Godot version

v4.0.rc1.official [8843d9ad3]

### System information

Windows 11 Pro 64Bit

### Issue description

Hi,

Found a rather annoying bug in 4.0 RC1 official on Windows 11:
When right clicking on a function in code and selecting "Lookup Symbol" - it does not always work?
Sometimes it works, sometimes it does not work?

Any ideas?

Jesse

### Steps to reproduce

Right click on a function in code and select "Lookup Symbol".
(it does not work always?)

### Minimal reproduction project

N.A.
r_result.type = ScriptLanguage::LOOKUP_RESULT_CLASS;
			r_result.class_name = Variant::get_type_name(t);
			return OK;
		}
	}
	if ("PI" == p_symbol || "TAU" == p_symbol || "INF" == p_symbol || "NAN" == p_symbol) {
		r_result.type = ScriptLanguage::LOOKUP_RESULT_CLASS_CONSTANT;
		r_result.class_name = "@GDScript";
		r_result.class_member = p_symbol;
		return OK;
	}
	GDScriptParser parser;
	parser.parse(p_code, p_path, true);
	GDScriptParser::CompletionContext context = parser.get_completion_context();
	context.base = p_owner;
	
	if (context.type != GDScriptParser::COMPLETION_ATTRIBUTE) {
		
		
		if (GDScriptUtilityFunctions::function_exists(p_symbol) || "assert" == p_symbol || "preload" == p_symbol) {
			r_result.type = ScriptLanguage::LOOKUP_RESULT_CLASS_METHOD;
			r_result.class_name = "@GDScript";
			r_result.class_member = p_symbol;
			return OK;
		}
	}
	GDScriptAnalyzer analyzer(&parser);
	analyzer.analyze();
	if (context.current_class && context.current_class->extends.size() > 0) {
		bool success = false;