Branch: Tag:

2022-06-03

2022-06-03 08:52:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Zeroes are now only implicit in compat mode.

5574:   /* Set compiler_frame->current_type from the type stack. */   static void update_current_type(void)   { -  if (TEST_COMPAT(8,0) || -  !(THIS_COMPILATION->lex.pragmas & ID_STRICT_TYPES)) { +  if (TEST_COMPAT(8,0)) {    struct pike_type *t = peek_type_stack();    if (!t || (t->type != PIKE_T_AUTO)) {    /* Implicit zero */