Fix import name exportation bug; Fix procedure type printing

This commit is contained in:
gingerBill
2017-07-24 07:57:09 +01:00
parent 1df4aa90ce
commit f0980c0a98
2 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -4630,10 +4630,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) {