Branch: Tag:

2021-04-01

2021-04-01 15:08:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Handle return of __unknown__ in match_types().

7909:    /* check the returntype */    a = a->cdr;    b = b->cdr; +  if (a && b) {    if ((b->type == T_VOID) && (a->type != T_VOID)) {    /* Promote b to a function returning zero. */    if (!(tmp = low_match_types(a, zero_type_string,
7929:    }    free_type(tmp);    } +  }    add_ref(ret);    return ret;    }