[armedbear-ticket] [armedbear] #101: lambda list checking optimizes away dispatch macros which return nil
![](https://secure.gravatar.com/avatar/bfc2df4941985c6757bb9cc05a33e95f.jpg?s=120&d=mm&r=g)
#101: lambda list checking optimizes away dispatch macros which return nil -----------------------------------------+---------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: new Priority: major | Milestone: Component: other | Version: Keywords: lambda list, dispatch macro | -----------------------------------------+---------------------------------- After [r12693][1], dispatch macros which return nil are stripped from processing in lambda lists. For example {{{ CL-USER> (defun foo (&key (this :that)) this) CL-USER> (foo :this (#+:nil :other)) Odd number of keyword arguments. [Condition of type PROGRAM-ERROR] }}} Among other things, this causes [usocket][2] to fail to load, erroring with the slightly mysterious "Unrecognized keyword argument :NAME" as reported by Kevin Raison. [1]: http://trac.common-lisp.net/armedbear/changeset/12693 [2]: http://common-lisp.net/project/usocket/ -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/101> armedbear <http://common-lisp.net/project/armedbear> armedbear
![](https://secure.gravatar.com/avatar/bfc2df4941985c6757bb9cc05a33e95f.jpg?s=120&d=mm&r=g)
#101: lambda list checking optimizes away dispatch macros which return nil -----------------------+---------------------------------------------------- Reporter: mevenson | Owner: somebody Type: defect | Status: closed Priority: major | Milestone: Component: other | Version: Resolution: fixed | Keywords: lambda list, dispatch macro -----------------------+---------------------------------------------------- Changes (by ehuelsmann): * status: new => closed * resolution: => fixed Comment: (In [12766]) Fix #101: Regression in 0.20 where dispatch macros return NIL. -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/101#comment:1> armedbear <http://common-lisp.net/project/armedbear> armedbear
participants (1)
-
armedbear