diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-21 21:46:27 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-21 21:46:27 +0100 |
| commit | 9faf0020cc04c9c27fc7a7e7e41edce6df31376e (patch) | |
| tree | 53da976543ca841bbf7b64995086e25297f0ae17 /src/check_expr.cpp | |
| parent | 53075e2570d7b2590124beabeda93bd56dd4b778 (diff) | |
Amend Checker API
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index df16ab2b4..639cc27db 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -3409,7 +3409,7 @@ Entity *check_selector(Checker *c, Operand *operand, AstNode *node, Type *type_h isize overload_count = entity_overload_count(import_scope, entity_name); bool is_overloaded = overload_count > 1; - bool implicit_is_found = map_get(&e->ImportName.scope->implicit, hash_pointer(entity)) != NULL; + bool implicit_is_found = is_entity_implicitly_imported(e, entity); bool is_not_exported = !is_entity_exported(entity); if (!implicit_is_found) { is_not_exported = false; |