diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-31 13:04:55 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-31 13:04:55 -0400 |
| commit | 50a3fd1799c23074452802dcd51fef5c4e03d525 (patch) | |
| tree | a448af819ee0826220342f71af6d9eb8d486b75b /src/server/methods.odin | |
| parent | 8ee9db53bf77e676afa6ebf9c5a1b5bc6504c627 (diff) | |
Use current package rather than file path to filter private symbols
Diffstat (limited to 'src/server/methods.odin')
| -rw-r--r-- | src/server/methods.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/methods.odin b/src/server/methods.odin index e05fded..757b37d 100644 --- a/src/server/methods.odin +++ b/src/server/methods.odin @@ -116,7 +116,7 @@ collect_methods :: proc( for k, v in indexer.index.collection.packages { if symbols, ok := &v.methods[method]; ok { for &symbol in symbols { - if should_skip_private_symbol(symbol, ast_context.fullpath) { + if should_skip_private_symbol(symbol, ast_context.current_package, ast_context.fullpath) { continue } resolve_unresolved_symbol(ast_context, &symbol) |