This is the mail archive of the kawa@sourceware.cygnus.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]

compilation (and some CLOS)


More compilation problems...

I have this innocent little module, tiny_clos.scm.
I compile this, then write some scheme code saying (require <tiny_clos>)
at the top. This code loads fine in the interpreter. When I compile this
code, I get the following:

(compiling scheme_agent_interface.scm)
Internal error while compiling scheme_agent_interface.scm
Argument #0 to `vector-ref' has wrong type (java.lang.Boolean)
	at gnu.mapping.WrongType.make(WrongType.java:56)
	at tiny_clos.lambda4(tiny_clos.scm, Compiled Code)
	at tiny_clos.apply1(tiny_clos.scm, Compiled Code)
	at gnu.expr.ModuleMethod.apply1(ModuleMethod.java, Compiled Code)
	at tiny_clos.classOf(tiny_clos.scm, Compiled Code)
	at tiny_clos.pureSlotRef(tiny_clos.scm, Compiled Code)
	at tiny_clos.classDirectSupers(tiny_clos.scm, Compiled Code)
	at tiny_clos.apply1(tiny_clos.scm, Compiled Code)
        .
        .
        .

Now, when I change the (require ...) to (load ...) things are fine. ?


BTW Are there recommendations for a source-only CLOS-type thing for Scheme
(/ Kawa)?



Ittai



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