record field name mangling

Wen-Chun Ni wcn@tbcommerce.com
Fri Jan 24 18:55:00 GMT 2003


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



More information about the Kawa mailing list