SZAVAI Gyula <[EMAIL PROTECTED]> writes:
>
> (use-modules (oop goops))
> (define-class <c> ())
> (define-method (* a (b <c>)) #t)
> (* 0 (make <c>))
> ==> 0

Thanks, that's a bug.

> -      switch (xx)
> -       {
> -        case 0: return x; break;
> -        case 1: return y; break;
> -       }
> -

Though that's not the fix (it breaks 0 * bignum, and changes 0 * real
and complex).


_______________________________________________
Bug-guile mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to