chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #122: tinyclos generic mechanism gets confused by a s


From: Chicken Trac
Subject: [Chicken-janitors] #122: tinyclos generic mechanism gets confused by a surplus of arguments.
Date: Sun, 15 Nov 2009 16:51:08 -0000

#122: tinyclos generic mechanism gets confused by a surplus of arguments.
-------------------------------+--------------------------------------------
 Reporter:  tonysidaway        |       Owner:       
     Type:  defect             |      Status:  new  
 Priority:  major              |   Milestone:       
Component:  extensions         |     Version:  4.2.x
 Keywords:  tinyclos generics  |  
-------------------------------+--------------------------------------------
 (define-generic G)
 (define-method (G (a <exact>)) (+ a a))
 (G 10)
 ===> 20
 (G 10 11)
 Error: bad argument count - received 3 but expected 2: #<procedure (?
 call-next-method a)

 The exact same bug also exists in the Chicken 3 tinyclos egg on Chicken
 3.4.0

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/122>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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