Branch: Tag:

2014-12-04

2014-12-04 19:22:56 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;