aboutsummaryrefslogtreecommitdiff
path: root/src/server/analysis.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/analysis.odin
parent01dd0ca11f34a58c9470ed377142da4a144631f2 (diff)
Add proc calling convention to hover information
Diffstat (limited to 'src/server/analysis.odin')
-rw-r--r--src/server/analysis.odin13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin
index 2edae61..0929a61 100644
--- a/src/server/analysis.odin
+++ b/src/server/analysis.odin
@@ -2794,12 +2794,13 @@ make_symbol_procedure_from_ast :: proc(
}
symbol.value = SymbolProcedureValue {
- return_types = return_types[:],
- orig_return_types = return_types[:],
- arg_types = arg_types[:],
- orig_arg_types = arg_types[:],
- generic = v.generic,
- diverging = v.diverging,
+ return_types = return_types[:],
+ orig_return_types = return_types[:],
+ arg_types = arg_types[:],
+ orig_arg_types = arg_types[:],
+ generic = v.generic,
+ diverging = v.diverging,
+ calling_convention = v.calling_convention,
}
if _, ok := get_attribute_objc_name(attributes); ok {