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]

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


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