chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] [Chicken-bugs] #317: Extended DSSSL parameters: #!key


From: Chicken Scheme
Subject: [Chicken-janitors] [Chicken-bugs] #317: Extended DSSSL parameters: #!key parameter without a #!rest
Date: Wed, 05 Sep 2007 06:36:48 -0000

#317: Extended DSSSL parameters: #!key parameter without a #!rest
-----------------------------------------------+----------------------------
 Reporter:  Jon Strait <address@hidden>  |       Type:  defect
   Status:  new                                |   Priority:  minor 
Component:  core libraries                     |    Version:  2.7   
 Keywords:                                     |  
-----------------------------------------------+----------------------------
 With regard to the following simple example:

 {{{

 ((lambda (a b #!key) (list a b))
   1 2 3 4)
 }}}

 In this case, the list (1 2) is currently returned.  Shouldn't a 'too many
 arguments' error be thrown if unbound arguments are left over after
 failing to match a keyword parameter?

 Tested with csi:
 Version 2.703 - linux-unix-gnu-x86 - [ manyargs dload applyhook ]

-- 
Ticket URL: <http://trac.callcc.org/ticket/317>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler

reply via email to

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