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]

fluid-let internal error


This piece of code

	(define (f) 'foo)
	(fluid-let ((f (lambda () 'bar))) (f))

throws

java.lang.Error: internal error: compile called for inlineOnly LambdaExp
	at gnu.expr.LambdaExp.compile(LambdaExp.java, Compiled Code)
	at gnu.expr.FluidLetExp.compile(FluidLetExp.java, Compiled Code)
	at gnu.expr.Expression.compileNotePosition(Expression.java:45)
	at gnu.expr.Expression.compileWithPosition(Expression.java:30)
	at gnu.expr.Compilation.addClass(Compilation.java, Compiled Code)
	at gnu.expr.Compilation.<init>(Compilation.java:562)
	at gnu.expr.LambdaExp.evalToClass(LambdaExp.java, Compiled Code)
	at gnu.expr.LambdaExp.eval(LambdaExp.java:1104)
	at gnu.expr.ModuleExp.evalModule(ModuleExp.java:32)
	at kawa.Shell.run(Shell.java, Compiled Code)
	at kawa.Shell.run(Shell.java:31)
	at kawa.Shell.run(Shell.java:18)
	at kawa.repl.main(repl.java, Compiled Code)
Exception in thread "main" 
Process scheme exited abnormally with code 1


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