Branch: Tag:

2007-03-30

2007-03-30 15:26:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now the detection of fulfilled exists criteris works again.

Rev: src/pike_types.c:1.271

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_types.c,v 1.270 2007/03/30 12:47:25 grubba Exp $ + || $Id: pike_types.c,v 1.271 2007/03/30 15:26:35 grubba Exp $   */      #include "global.h"
4681:    res = tmp;    } else {    type_stack_mark(); -  if ((res == fun_type->car) && -  (res->type == T_MANY) && +  if ((res->type == T_MANY) && +  (fun_type->car->type == T_MANY) &&    (res->car->type == T_NOT)) {    /* Exist criteria is fulfilled.    * Reduce !function(!type...:type) to function(mixed...:type).