Branch: Tag:

2019-03-19

2019-03-19 09:23:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [auto]: Fixed typechecker bug.

This is a bug in the same class as [GitHub pikelang/Pike #25].

3728:       if( t->type == PIKE_T_AUTO )    { +  type_stack_mark();    if( t->car != zero_type_string )    {    /* Not the first one.. */
3740:    }    push_type(PIKE_T_AUTO);    free_type( t ); -  t = pop_type(); +  t = pop_unfinished_type();    Pike_compiler->compiler_frame->current_return_type = t;    } else if ((Pike_compiler->compiler_frame->current_return_type !=    void_type_string) ||