bugKawa - Bugs: bug #39944, Possible bug with omitted keyword...

 
 

bug #39944: Possible bug with omitted keyword arguments

Submitter:  None
Submitted:  Wed 04 Sep 2013 09:56:18 PM UTC
   
 
Category:  Scheme language Severity:  3 - Normal
Item Group:  Unexpected result Status:  Duplicate
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 05 Sep 2013 01:12:22 AM UTC, comment #1: 

This looks like a duplicate of bug #39059 "Method keywords problem", which is fixed in the Subversion version.

Thanks for the report.  I checked in your testcase.

Per Bothner <bothner>
Group administrator
Wed 04 Sep 2013 09:56:18 PM UTC, original submission:  


#|kawa:10|# (define (f #!key (y -1) (z -2)) z)
#|kawa:11|# (f z: 42)
-2


In other schemes (notably Chicken Scheme) this prints "42" and not "-2".

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-05 bothner Open/ClosedOpen Closed
    2013-09-05 bothner StatusNone Duplicate
        Assigned toNone bothner

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code