This commit is contained in:
Ginger Bill committed 2017-07-29 13:01:28 +01:00
commit 3546391311
6 files changed
+41 -23

No files matched your search

+3 -3
View File
@@ -4619,10 +4619,10 @@ Entity *check_selector(Checker *c, Operand *operand, AstNode *node, Type *type_h
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;
} else if (entity->kind == Entity_ImportName) {
if (entity->kind == Entity_ImportName) {
is_not_exported = true;
} else if (!implicit_is_found) {
is_not_exported = false;
}
if (is_not_exported) {