This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]