Opened 14 years ago
Closed 14 years ago
#101 closed defect (fixed)
lambda list checking optimizes away dispatch macros which return nil
Reported by: | Mark Evenson | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | other | Version: | |
Keywords: | lambda list, dispatch macro | Cc: | |
Parent Tickets: |
Description
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.
Note: See
TracTickets for help on using
tickets.
(In [12766]) Fix #101: Regression in 0.20 where dispatch macros return NIL.