Bill Allombert on Wed, 11 Sep 2002 20:30:09 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: gp: forbidden division t_INT / t_STR |
On Mon, Aug 26, 2002 at 07:52:16PM -0400, Michael Somos wrote: > pari-dev, > > This is a puzzling bug because the two definitions of 'calc()' are > exactly the same and it is never even used. Note that if it is only > defined once, the error does not happen. Very strange indeed. > > ============================================================================ Yes. This looks very strange and very serious: It is sufficient to do the following to see the bug: ? f(x="")=; ? f(x="")=; ? x %1 = "" Note that ? f(x="")=; ? g(x="")=; ? x %1 = x So it looks like a bug in the function redefinition code. Bill.