When overloading, don't throw away nomethod's value
Ilya Zakharevich [Tue, 18 Feb 1997 21:22:53 +0000 (09:22 +1200)]
gv.c

diff --git a/gv.c b/gv.c
index b315ad8..62afd91 100644 (file)
--- a/gv.c
+++ b/gv.c
@@ -1316,11 +1316,6 @@ int flags;
     res=POPs;
     PUTBACK;
 
-    if (notfound) {
-      /* sv_2mortal(res); */
-      return NULL;
-    }
-
     if (postpr) {
       int ans;
       switch (method) {