diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2023-07-28 19:30:15 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2023-07-28 19:30:15 +0200 |
| commit | b994162b8a04175f5aae94fd59ce46f388c1f179 (patch) | |
| tree | 234c4dde675838eea6b94d7b46eaf15b67f3e1cf /src/server | |
| parent | cff67bad212b231dde04b8a1abb84c0c4a50290a (diff) | |
Fix more issues with bitset inference
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/completion.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/completion.odin b/src/server/completion.odin index 62c2af7..044483a 100644 --- a/src/server/completion.odin +++ b/src/server/completion.odin @@ -737,6 +737,7 @@ get_implicit_completion :: proc( ast_context, position_context.assign.lhs[0], ); ok { + ast_context.current_package = symbol.pkg if value, ok := unwrap_bitset(ast_context, symbol); ok { for name in value.names { @@ -765,6 +766,7 @@ get_implicit_completion :: proc( ast_context, position_context.parent_binary, ); ok { + ast_context.current_package = symbol.pkg if value, ok := unwrap_bitset(ast_context, symbol); ok { for name in value.names { item := CompletionItem { |