diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2024-03-18 15:20:52 +0100 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2024-03-18 15:20:52 +0100 |
| commit | ff6d5c9bdd1646ea950f1d6571263797a8650c2e (patch) | |
| tree | f7e0a5f74dd89a61882d15fbf9eea672f862339b /src/server/completion.odin | |
| parent | 207fe98a46b28297755608904dbf08d06fc50970 (diff) | |
Fix issues with bitsets in procedures not completing correctly
Diffstat (limited to 'src/server/completion.odin')
| -rw-r--r-- | src/server/completion.odin | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/completion.odin b/src/server/completion.odin index eb83432..c10a48b 100644 --- a/src/server/completion.odin +++ b/src/server/completion.odin @@ -233,7 +233,7 @@ get_comp_lit_completion :: proc( } ast_context.current_package = symbol.pkg - + if resolved, ok := resolve_type_expression( ast_context, v.types[i], @@ -1128,6 +1128,7 @@ get_implicit_completion :: proc( ast_context, proc_value.arg_types[parameter_index].type, ); ok { + ast_context.current_package = bitset_symbol.pkg if enum_value, ok := unwrap_bitset( ast_context, bitset_symbol, |