unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* generic * and 0
@ 2006-11-29 17:58 SZAVAI Gyula
  2006-12-01 19:56 ` Kevin Ryde
  0 siblings, 1 reply; 13+ messages in thread
From: SZAVAI Gyula @ 2006-11-29 17:58 UTC (permalink / raw)



guile-1.8-20061126

(use-modules (oop goops))
(define-class <c> ())
(define-method (* a (b <c>)) #t)
(* 0 (make <c>))
==> 0



--- orig/libguile/numbers.c     2006-11-29 18:09:22.393764800 +0100
+++ mod/libguile/numbers.c      2006-11-29 18:10:22.319934400 +0100
@@ -4416,12 +4416,6 @@
     intbig:
       xx = SCM_I_INUM (x);

-      switch (xx)
-       {
-        case 0: return x; break;
-        case 1: return y; break;
-       }
-
       if (SCM_I_INUMP (y))
        {
          long yy = SCM_I_INUM (y);



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-12-07 15:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29 17:58 generic * and 0 SZAVAI Gyula
2006-12-01 19:56 ` Kevin Ryde
2006-12-01 20:22   ` Mikael Djurfeldt
2006-12-01 21:52     ` Kevin Ryde
2006-12-04  0:26       ` Kevin Ryde
2006-12-04 18:26         ` Mikael Djurfeldt
2006-12-05  0:00           ` Kevin Ryde
2006-12-05 14:07             ` SZAVAI Gyula
2006-12-05 15:33               ` Mikael Djurfeldt
2006-12-05 15:51                 ` Ludovic Courtès
2006-12-05 19:42                   ` Mikael Djurfeldt
2006-12-06 15:52             ` Marius Vollmer
2006-12-07 15:28               ` Mikael Djurfeldt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).