This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
record field name mangling
- From: Wen-Chun Ni <wcn at tbcommerce dot com>
- To: Kawa List <kawa at sources dot redhat dot com>
- Date: Fri, 24 Jan 2003 10:44:43 -0800
- Subject: record field name mangling
Hi,
Seems we can't use names like foo-bar in a record. Take the example
of testsuite, if we use
(define complex (make-record-type "complex" '(re-value im-value)))
(define make-complex (record-constructor complex))
(define z (make-complex 3 4))
(z 're-value)
(z 'im-value)
It will bomb in kawa.lang.Record (line 53 in the current CVS version).
Is this a design constraint or a bug?
Wen-Chun Ni