From bc685210a9f11333195a9e9bc4153a6327df577b Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Sat, 18 Dec 1999 15:59:38 +0100
Subject: [PATCH] Don't look at the `->= lfun in low_index_type() when
 resolving object identifiers.

Rev: src/pike_types.c:1.104
---
 src/pike_types.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pike_types.c b/src/pike_types.c
index 0c4eb48c29..9c21491a72 100644
--- a/src/pike_types.c
+++ b/src/pike_types.c
@@ -5,7 +5,7 @@
 \*/
 /**/
 #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,7 +2542,7 @@ static struct pike_string *debug_low_index_type(char *t,
       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,7 +2554,7 @@ static struct pike_string *debug_low_index_type(char *t,
 	  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
-- 
GitLab