diff options
| author | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-30 09:18:02 -0400 |
|---|---|---|
| committer | Brad Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-07-30 09:18:02 -0400 |
| commit | c18e6222d276e119dad36fb5bb49553f187bb662 (patch) | |
| tree | ca57caf0524600398526fd7eb3cd1da151dd22f9 /src/server | |
| parent | 5263847aa5cb7ed2e2af029e60af557d82ac605f (diff) | |
Fix issue looking up using package when resolving types
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/analysis.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin index a7b7695..f483a75 100644 --- a/src/server/analysis.odin +++ b/src/server/analysis.odin @@ -1901,7 +1901,7 @@ internal_resolve_type_identifier :: proc(ast_context: ^AstContext, node: ast.Ide for u in ast_context.usings { for imp in ast_context.imports { - if strings.compare(imp.base, u.pkg_name) == 0 { + if strings.compare(imp.name, u.pkg_name) == 0 { if symbol, ok := lookup(node.name, imp.name); ok { return resolve_symbol_return(ast_context, symbol) } |