Branch: Tag:

1999-12-18

1999-12-18 14:59:38 by Martin Stjernholm <mast@lysator.liu.se>

Don't look at the `->= lfun in low_index_type() when resolving object
identifiers.

Rev: src/pike_types.c:1.104

5:   \*/   /**/   #include "global.h" - RCSID("$Id: pike_types.c,v 1.103 1999/12/17 22:45:40 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.104 1999/12/18 14:59:38 mast Exp $");   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"
2542:    if(n->token == F_ARROW)    {    /* FIXME: make this stricter */ -  if((i=FIND_LFUN(p,LFUN_ARROW))!=-1 || FIND_LFUN(p,LFUN_ASSIGN_ARROW)!=-1) +  if((i=FIND_LFUN(p,LFUN_ARROW))!=-1)    {    /* FIXME: function_type_string should be replaced with something    * derived from type_string
2554:    return mixed_type_string;    }    }else{ -  if((i=FIND_LFUN(p,LFUN_INDEX)) != -1 || FIND_LFUN(p,LFUN_ASSIGN_INDEX) != -1) +  if((i=FIND_LFUN(p,LFUN_INDEX)) != -1)    {    /* FIXME: function_type_string should be replaced with something    * derived from type_string