[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #33049] Internal compile error on compilation of code
From: |
anonymous |
Subject: |
[Bug-kawa] [bug #33049] Internal compile error on compilation of code |
Date: |
Mon, 11 Apr 2011 21:51:03 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16 |
URL:
<http://savannah.gnu.org/bugs/?33049>
Summary: Internal compile error on compilation of code
Project: Kawa
Submitted by: None
Submitted on: Mon 11 Apr 2011 09:51:02 PM UTC
Category: Scheme language
Severity: 3 - Normal
Item Group: Compile-time exception
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Kawa 1.11, OS X 10.5, Java 6
[offending snippet below. I can make the full running source available no
problem, but it can't be pasted in this window. Instead contact
address@hidden
(define (perform target :: Steppable ;;;;; THIS IS LINE 275. Problem
occurs regardless of function name
method :: symbol
#!key
(at :: <double> (floor (+ 1.0 (schedule:getTime))))
(order :: <int> 0.0)
(repeat 1.0))
(let ((agent (referring-agent target method)))
(if (eq? #f repeat)
(schedule:scheduleOnce at order agent)
(schedule:scheduleRepeating at order agent repeat))))
[Bug:]
newflocker.scm:275:1: internal compile error - caught java.lang.Error: at PC
33 then clause grows stack with no else clause
gnu.bytecode.CodeAttr.emitFi(CodeAttr.java:1891)
gnu.expr.LambdaExp.enterFunction(LambdaExp.java:1469)
gnu.expr.LambdaExp.compileAsMethod(LambdaExp.java:1593)
gnu.expr.LambdaExp.compileSetField(LambdaExp.java:656)
gnu.expr.SetExp.compile(SetExp.java:167)
gnu.expr.Expression.compileNotePosition(Expression.java:156)
gnu.expr.Expression.compileWithPosition(Expression.java:142)
gnu.expr.LambdaExp.compileBody(LambdaExp.java:1619)
gnu.expr.Compilation.generateBytecode(Compilation.java:2107)
gnu.expr.Compilation.process(Compilation.java:1984)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:330)
gnu.expr.ModuleExp.evalToClass(ModuleExp.java:55)
gnu.expr.ModuleExp.evalModule1(ModuleExp.java:226)
gnu.expr.ModuleExp.evalModule(ModuleExp.java:182)
kawa.Shell.run(Shell.java:281)
kawa.Shell.runFile(Shell.java:490)
kawa.standard.load.apply2(load.java:42)
kawa.standard.load.apply1(load.java:26)
gnu.mapping.Procedure.apply(Procedure.java:130)
gnu.mapping.Procedure.apply(Procedure.java:113)
gnu.mapping.CallContext.runUntilDone(CallContext.java:234)
gnu.expr.ModuleExp.evalModule2(ModuleExp.java:348)
gnu.expr.ModuleExp.evalModule(ModuleExp.java:185)
kawa.Shell.run(Shell.java:281)
kawa.Shell.run(Shell.java:194)
kawa.Shell.run(Shell.java:175)
kawa.repl.main(repl.java:848)
at kawa.standard.load.apply2(load.java:51)
at kawa.standard.load.apply1(load.java:26)
at gnu.mapping.Procedure.apply(Procedure.java:130)
at gnu.mapping.Procedure.apply(Procedure.java:113)
at gnu.mapping.CallContext.runUntilDone(CallContext.java:234)
at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:348)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:185)
at kawa.Shell.run(Shell.java:281)
at kawa.Shell.run(Shell.java:194)
at kawa.Shell.run(Shell.java:175)
at kawa.repl.main(repl.java:848)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33049>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-kawa] [bug #33049] Internal compile error on compilation of code,
anonymous <=