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: mangleName


Chris Dean wrote:
For example, take the code below, compile it using "kawa -C Foo.scm":

    (module-static #t)
    (define (some-func) 'result)
    (define (f) some-func)
    (define (g) set-car!)

Then, when you run (g), you'll see the mangling problem:

    #|kawa:1|# (require <Foo>)
    #|kawa:2|# (f)
    #<procedure some-func>
    #|kawa:3|# (g)
    java.lang.NoSuchFieldError: set$Mncar$Ex

This seems to be working in the CVS version of Kawa:


#|kawa:1|# (require <Foo>)
#|kawa:2|# (f)
#<procedure some-func>
#|kawa:3|# (g)
#<procedure set-car!>
--
	--Per Bothner
per at bothner dot com   http://www.bothner.com/per/


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