Branch: Tag:

2012-10-27

2012-10-27 15:36:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Use cast to program instead of object_program() for inherits.

This is needed to be able to simulate inheritable programs with objects.

Fixes [bug 6573 (#6573)].

1539:    pop_stack();    push_int(0);    }else{ -  f_object_program(1); +  o_cast(program_type_string, T_PROGRAM);    }    break;