bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segfault in GOOPS/C function


From: Ludovic Courtès
Subject: Re: segfault in GOOPS/C function
Date: Wed, 11 Jul 2007 00:38:50 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi Marco,

"Marco Maggi" <address@hidden> writes:

> On Guile 1.8.1 the following:

[...]

> segfaults inside METHOD-MORE-SPECIFIC? because, I think, the
> empty list is not recognised  as such. Yeah, maybe the empty
> list is  not what this  function expects, but it  should not
> dump on me.

I fixed this in both branches.

The issue is that TARGS (a list of classes) should be as long as the
smallest list of specializers between that of M1 and that of M2, and
`%method-more-specific?' did not check for this.

Thanks!

Ludovic.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]