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]

Re: invoke and mangling?


Chris Dean wrote:
Should invoke reversible mangle names when compiling a file?  For
example this gives a warning but at runtime runs the method "longValue":

  (let ((var :: <java.lang.Long> (make <java.lang.Long> 1)))
    (invoke var 'long-value)))

I fixed this. It now uses "manglenameIfNeeded", which uses the (mostly-) reversible mapping, and so this gives a run-time exception. -- --Per Bothner per@bothner.com http://per.bothner.com/



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