[armedbear-ticket] [armedbear] #22: keyword parameters by same name as global variable

armedbear armedbear-devel at common-lisp.net
Mon Dec 8 21:49:14 UTC 2008


#22: keyword parameters by same name as global variable
-------------------------+--------------------------------------------------
  Reporter:  ehuelsmann  |       Owner:  somebody
      Type:  defect      |      Status:  closed  
  Priority:  major       |   Milestone:          
 Component:  component1  |     Version:          
Resolution:  fixed       |    Keywords:          
-------------------------+--------------------------------------------------

Comment(by ehuelsmann):

 As I can determine for now, this issue is caused by maybe-rewrite-lambda
 in precompile.lisp; see this input/output:

 CL-USER(1): (defvar recompile nil)
 RECOMPILE
 CL-USER(2): (defun f (&key recompile))
 F
 CL-USER(3): (f :recompile t)
 Debugger invoked on condition of type PROGRAM-ERROR:
   Unrecognized keyword argument :RECOMPILE
 Restarts:
   0: TOP-LEVEL Return to top level.
 [1] CL-USER(4): 0
 CL-USER(5): (describe #'f)
 #<FUNCTION F {146AD8B}> is an object of type FUNCTION.
 The function's lambda list is:
   (&KEY G33)

-- 
Ticket URL: <http://127.0.0.1:8000/armedbear/ticket/22#comment:2>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list