mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-15 00:31:58 -04:00
Change import lookup
This commit is contained in:
1 parent
a513b47780
commit
4e203feaf4
4 files changed
+10
-6
No files matched your search
+1
-1
@@ -2583,7 +2583,7 @@ Entity *check_selector(Checker *c, Operand *operand, AstNode *node, Type *type_h
|
||||
String entity_name = selector->Ident.token.string;
|
||||
|
||||
check_op_expr = false;
|
||||
entity = scope_lookup_entity(import_scope, entity_name);
|
||||
entity = current_scope_lookup_entity(import_scope, entity_name);
|
||||
bool is_declared = entity != nullptr;
|
||||
if (is_declared) {
|
||||
if (entity->kind == Entity_Builtin) {
|
||||
|
||||
Reference in new issue
Block a user