aboutsummaryrefslogtreecommitdiff
path: root/src/server/completion.odin
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2023-03-06 20:25:13 +0100
committerDanielGavin <danielgavin5@hotmail.com>2023-03-06 20:25:13 +0100
commit0beb62cceaed90532fdc3f7bcff7a7e7605f5b5f (patch)
tree7b979add644f04fdae46a7b8aa2b883efbd831ed /src/server/completion.odin
parentc86b909e86e338087024bf06b2d86622e911ba32 (diff)
Add more enum gotos
Diffstat (limited to 'src/server/completion.odin')
-rw-r--r--src/server/completion.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/completion.odin b/src/server/completion.odin
index d81aac7..2159f75 100644
--- a/src/server/completion.odin
+++ b/src/server/completion.odin
@@ -993,7 +993,7 @@ get_implicit_completion :: proc(
if position_context.call != nil {
if call, ok := position_context.call.derived.(^ast.Call_Expr); ok {
parameter_index, parameter_ok := find_position_in_call_param(
- ast_context,
+ position_context,
call^,
)
if symbol, ok := resolve_type_expression(ast_context, call.expr);