summaryrefslogtreecommitdiff
path: root/src/server/analysis.odin
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/analysis.odin')
-rw-r--r--src/server/analysis.odin10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin
index 83aef98..4c21c81 100644
--- a/src/server/analysis.odin
+++ b/src/server/analysis.odin
@@ -2528,8 +2528,14 @@ resolve_symbol_return :: proc(ast_context: ^AstContext, symbol: Symbol, ok := tr
}
case SymbolProcedureValue:
if v.generic {
- if resolved_symbol, ok := resolve_generic_function(ast_context, v.arg_types, v.return_types, v.inlining);
- ok {
+ if resolved_symbol, ok := resolve_generic_function(
+ ast_context,
+ v.arg_types,
+ v.return_types,
+ v.inlining,
+ symbol.range,
+ symbol.uri,
+ ); ok {
return resolved_symbol, ok
} else {
return symbol, true