Fix docs for associated function calls

This commit is contained in:
Sofia 2025-08-14 17:59:17 +03:00
parent 7a6f99479a
commit 3ebe16b80b

View File

@ -1221,7 +1221,7 @@ pub fn analyze_expr(
scope.state.new_symbol(fn_idx, SemanticKind::Function) scope.state.new_symbol(fn_idx, SemanticKind::Function)
}; };
scope.state.set_symbol(fn_idx, fn_symbol); scope.state.set_symbol(fn_idx, fn_symbol);
if let Some(hover) = scope.function_hovers.get(name) { if let Some(hover) = scope.assoc_function_hovers.get(&(invoked_ty.clone(), name.clone())) {
scope.state.set_hover(fn_idx, hover.clone()); scope.state.set_hover(fn_idx, hover.clone());
} }