[ nice-Bugs-1625863 ] compiler error - missing void type on stack

"SourceForge.net" <[email protected]> Tue, 20 Nov 2007 09:39:47 -0800
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1625863, was opened at 2007-01-01 14:43
Message generated for change (Settings changed) made by igouy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1625863&group_id=12788

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Isaac Gouy (igouy)
Assigned to: Nobody/Anonymous (nobody)
Summary: compiler error - missing void type on stack

Initial Comment:
See 
http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=fasta&lang=nice&id=0

Version nice-0.9.12


Stack trace:
Exception in thread "main" java.lang.Error: missing void type on stack
	at gnu.bytecode.CodeAttr.popType(CodeAttr.java:215)
	at gnu.bytecode.CodeAttr.emitPop(CodeAttr.java:240)
	at nice.lang.inline.ReferenceOp.compilePrimitive(ReferenceOp.java:135)
	at nice.lang.inline.ReferenceOp.compile(ReferenceOp.java:70)
	at nice.lang.inline.ReferenceOp.compileJump(ReferenceOp.java:161)
	at nice.lang.inline.ReferenceOp.compileJump(ReferenceOp.java:142)
	at nice.lang.inline.BoolNotOp.compileJumpNot(BoolNotOp.java:90)
	at gnu.expr.SimpleIfExp.compile(SimpleIfExp.java:44)
	at gnu.expr.SimpleIfExp.compile(SimpleIfExp.java:29)
	at gnu.expr.Expression.compileWithPosition(Expression.java:72)
	at gnu.expr.LambdaExp.compileBody(LambdaExp.java:1565)
	at gnu.expr.LambdaExp.compileAsMethod(LambdaExp.java:1536)
	at gnu.expr.LambdaExp.compileChildMethods(LambdaExp.java:1422)
	at gnu.expr.ClassExp.compileChildMethods(ClassExp.java:573)
	at gnu.expr.Compilation.compileAll(Compilation.java:1614)
	at gnu.expr.Compilation.generate(Compilation.java:1588)
	at gnu.expr.Compilation.compile(Compilation.java:1556)
	at gnu.expr.Package.compileToFiles(Package.java:100)
	at bossa.modules.Package.finishCompilation(Package.java:411)
	at bossa.modules.Package.link(Package.java:388)
	at mlsub.compilation.fun.lambda27(Unknown Source)
	at mlsub.compilation.fun.apply1(Unknown Source)
	at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:89)
	at nice.lang.fun.foreach(collections.nice:141)
	at nice.lang.dispatch.foreach(Unknown Source)
	at mlsub.compilation.fun.compileComponent(make.nice:33)
	at mlsub.compilation.dispatch.compileComponent(Unknown Source)
	at mlsub.compilation.fun$make.lambda24(Unknown Source)
	at mlsub.compilation.fun$make.apply1(Unknown Source)
	at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:89)
	at nice.lang.fun.foreach(collections.nice:141)
	at nice.lang.dispatch.foreach(Unknown Source)
	at mlsub.compilation.fun.make(make.nice:44)
	at mlsub.compilation.dispatch.make(Unknown Source)
	at nice.tools.compiler.fun.compile(interface.nice:40)
	at nice.tools.compiler.dispatch.compile(Unknown Source)
	at nice.tools.compiler.console.fun.compile(main.nice:170)
	at nice.tools.compiler.console.dispatch.compile(Unknown Source)
	at nice.tools.compiler.console.fun.main(main.nice:204)
	at nice.tools.compiler.console.dispatch.main(Unknown Source)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1625863&group_id=12788

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/