This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
fluid-let problem
- From: Wen-Chun Ni <wcn at tbcommerce dot com>
- To: kawa at sources dot redhat dot com
- Date: Sat, 9 Nov 2002 18:19:54 -0800
- Subject: fluid-let problem
Hi,
I encountered the following problem:
#|kawa:1|# (define x 1)
#|kawa:2|# (define (f y) (+ x y))
#|kawa:3|# (f 1)
2
#|kawa:4|# (fluid-let ((x 2)) (f 1))
java.lang.Error: popType called with empty stack atInteractiveLevel.apply(gnu.mapping.CallContext)void
at gnu.bytecode.CodeAttr.popType(CodeAttr.java:205)
at gnu.bytecode.CodeAttr.emitStore(CodeAttr.java:1059)
at gnu.bytecode.CodeAttr.emitTryEnd(CodeAttr.java:1796)
at gnu.expr.FluidLetExp.compile(FluidLetExp.java:55)
at gnu.expr.Expression.compileNotePosition(Expression.java:82)
at gnu.expr.Expression.compileWithPosition(Expression.java:69)
at gnu.expr.LambdaExp.compileBody(LambdaExp.java:1331)
at gnu.expr.Compilation.addClass(Compilation.java:1485)
at gnu.expr.Compilation.compile(Compilation.java:783)
at gnu.expr.ModuleExp.evalToClass(ModuleExp.java:54)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:166)
at kawa.Shell.run(Shell.java:232)
at kawa.Shell.run(Shell.java:180)
at kawa.Shell.run(Shell.java:167)
at kawa.Shell.run(Shell.java:154)
at kawa.repl.main(repl.java:610)
I know Khairul Azhar's previous problem was solved, but this is
supposed to be simpler. I am using the most updated CVS version.
Thanx!
Wen-Chun Ni