[Top][All Lists]

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

Re: [Gcl-devel] Updates to test suite

From: Camm Maguire
Subject: Re: [Gcl-devel] Updates to test suite
Date: 23 Jan 2003 17:37:46 -0500

Greetings!  Paul, I've got a patch just about ready to commit
addressing many of these.  I'm uncertain about one aspect.  GCL
currently compiles functions to check the number of actually supplied
arguments at runtime.  Basically, if &allow-other-keys or &rest
explicitly appears in the lambda-list of the defun, the upper-limit
check on the supplied arguments to the function at runtime is bypassed.
My understanding is that this bypass should always be in place, though
it seems a shame not to be able to declare a function in such a way as
to have an upper-limit on the number of supplied arguments.

The only other residual allow-other-keys errors involve keys that are
really symbols, i.e. 'bad, instead of :bad.  Is that syntax really to
be allowed?  Can't find that in the spec...

Down to 328 failures from 441 with this patch.

Take care,

"Paul F. Dietz" <address@hidden> writes:

> I've added a large number of tests to the ansi-test suite
> for keyword argument processing in builtin functions.
> There are now 441 tests failing out of 8482.
> Many of the new failures are similar, involving:
> (1) Not accepting :allow-other-keys nil by itself.
> (2) When :allow-other-keys <true> and :allow-other-keys nil
>    are both present, the second one is taken, which is incorrect
>    -- the leftmost occurence of a keyword parameter has
>    priority.
>       Paul
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

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