chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #899: typed-records: define-record-type constructor w


From: Chicken Trac
Subject: [Chicken-janitors] #899: typed-records: define-record-type constructor with arguments is specialized erroneously
Date: Fri, 17 Aug 2012 07:38:04 -0000

#899: typed-records: define-record-type constructor with arguments is 
specialized
erroneously
------------------------+---------------------------------------------------
 Reporter:  syn         |       Owner:       
     Type:  defect      |      Status:  new  
 Priority:  minor       |   Milestone:  4.8.0
Component:  extensions  |     Version:  4.8.x
 Keywords:              |  
------------------------+---------------------------------------------------
 This program

 {{{

 (use typed-records)

 (define-record-type foo
   (make-foo bar)
   foo?
   (bar foo-bar foo-bar-set!))


 (display (make-foo 1))

 }}}


 fails with {{{Error: unbound variable: bar}}} when compiled with
 {{{-specialize}}}. Tested with 4.8.0rc2.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/899>
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]