aboutsummaryrefslogtreecommitdiff
path: root/src/server/collector.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-07-19 15:46:55 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-07-22 18:48:22 -0400
commit4eda03d0564acbbd577edb54183f4443fbdd0e94 (patch)
tree14cb81c9595722d407f6b277f4976cfd8b99aabf /src/server/collector.odin
parent01dd0ca11f34a58c9470ed377142da4a144631f2 (diff)
Add proc calling convention to hover information
Diffstat (limited to 'src/server/collector.odin')
-rw-r--r--src/server/collector.odin13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/server/collector.odin b/src/server/collector.odin
index 1995d54..91d948f 100644
--- a/src/server/collector.odin
+++ b/src/server/collector.odin
@@ -105,12 +105,13 @@ collect_procedure_fields :: proc(
}
value := SymbolProcedureValue {
- return_types = returns[:],
- orig_return_types = returns[:],
- arg_types = args[:],
- orig_arg_types = args[:],
- generic = is_procedure_generic(proc_type),
- diverging = proc_type.diverging,
+ return_types = returns[:],
+ orig_return_types = returns[:],
+ arg_types = args[:],
+ orig_arg_types = args[:],
+ generic = is_procedure_generic(proc_type),
+ diverging = proc_type.diverging,
+ calling_convention = clone_calling_convention(proc_type.calling_convention, collection.allocator, &collection.unique_strings),
}
return value