Branch: Tag:

2021-11-06

2021-11-06 18:08:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Improved handling of __unknown__.

3727:   static void low_and_pike_types(struct pike_type *t1,    struct pike_type *t2)   { -  if(!t1 || t1->type == T_VOID || -  !t2 || t2->type == T_VOID) -  { +  if (!t1 || !t2) { +  push_type(PIKE_T_UNKNOWN); +  } else if(t1->type == T_VOID || t2->type == T_VOID) {    push_type(T_VOID);    }    else if(t1->type == T_ZERO ||