Branch: Tag:

2003-01-09

2003-01-09 16:50:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported function_object() fixes from Pike 7.5.

Rev: lib/master.pike.in:1.239
Rev: src/testsuite.in:1.579

1: - test_true([["$Id: testsuite.in,v 1.578 2002/12/18 20:45:38 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.579 2003/01/09 16:50:20 grubba Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])
3244:   test_any([[    /* don't save parent */    class Foo { }; -  return function_object(object_program(Foo())) == -  object_program(this_object()); +  return (!function_object(object_program(Foo()))) && +  (function_program(object_program(Foo())) == +  object_program(this_object()));   ]], 1)      test_any([[