diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-23 09:50:57 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-24 08:55:23 -0400 |
| commit | 730e0ad2f6c4fdffd4fa26753c0b82085ee8b2a5 (patch) | |
| tree | 2373b27217b3c396d3819ac445210a2ecb64e4f9 /src/server/completion.odin | |
| parent | 0d7f28a8ca38fbdd4baa522ec1caf9316d090d19 (diff) | |
Compare symbols uri and range rather than trying to see if they're same type
Diffstat (limited to 'src/server/completion.odin')
| -rw-r--r-- | src/server/completion.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/completion.odin b/src/server/completion.odin index 5d28c3f..7493f5c 100644 --- a/src/server/completion.odin +++ b/src/server/completion.odin @@ -385,7 +385,7 @@ handle_pointers :: proc( } } - if !is_symbol_same_typed(ast_context, arg_symbol, result_symbol, ignore_pointers = true) { + if result_symbol.uri != arg_symbol.uri || result_symbol.range != arg_symbol.range { return } |