This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
define-record-type mangling?
- From: Chris Dean <Chris dot Dean at sokitomi dot com>
- To: Kawa List <kawa at sources dot redhat dot com>
- Date: Tue, 13 May 2003 15:30:41 -0700
- Subject: define-record-type mangling?
Is mangling broken for define-record-type? If we apply patch below and
run the testsuite we get:
<unknown>:0: no slot `yPart' in pare
<unknown>:0: no slot `yPart' in pare
Regards,
Chris Dean
--- testsuite/obj-test.scm Tue May 13 15:25:20 2003
+++ testsuite/obj-test.scm.orig Tue May 13 15:25:16 2003
@@ -223,10 +223,10 @@
(test '(#t 5 6) my-func-t 5 6)
(define-record-type pare
- (kons x y-part)
+ (kons x y)
pare?
(x kar set-kar!)
- (y-part kdr))
+ (y kdr))
(test #t pare? (kons 1 2))
(test #f pare? (cons 1 2))
(test 1 kar (kons 1 2))