|
From: | Helmut Eller |
Subject: | [Bug-kawa] [bug #27257] non-int dim. spec. in emitNewArray |
Date: | Sat, 15 Aug 2009 14:28:28 +0000 |
User-agent: | Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1 |
URL: <http://savannah.gnu.org/bugs/?27257> Summary: non-int dim. spec. in emitNewArray Project: Kawa Submitted by: ellerh Submitted on: Sat 15 Aug 2009 02:28:26 PM GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: This code used to work: (define (alloc-array count) (object[] length: (+ 1 count))) but with revision 6325M I get: (compiling x.scm to x) x.scm:1: internal error while compiling x.scm java.lang.Error: non-int dim. spec. in emitNewArray at gnu.bytecode.CodeAttr.emitNewArray(CodeAttr.java:1171) at gnu.bytecode.CodeAttr.emitNewArray(CodeAttr.java:1216) at gnu.kawa.reflect.ArrayNew.compile(ArrayNew.java:27) at gnu.expr.ApplyExp.compile(ApplyExp.java:171) at gnu.expr.ApplyExp.compile(ApplyExp.java:110) at gnu.expr.Expression.compileNotePosition(Expression.java:159) at gnu.expr.Expression.compileWithPosition(Expression.java:145) at gnu.expr.LambdaExp.compileBody(LambdaExp.java:1608) at gnu.expr.LambdaExp.compileAsMethod(LambdaExp.java:1584) at gnu.expr.LambdaExp.compileSetField(LambdaExp.java:650) at gnu.expr.SetExp.compile(SetExp.java:172) at gnu.expr.Expression.compileNotePosition(Expression.java:159) at gnu.expr.Expression.compileWithPosition(Expression.java:145) at gnu.expr.LambdaExp.compileBody(LambdaExp.java:1608) at gnu.expr.Compilation.generateBytecode(Compilation.java:2016) at gnu.expr.Compilation.process(Compilation.java:1892) at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:308) at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:293) at kawa.repl.compileFiles(repl.java:803) at kawa.repl.processArgs(repl.java:457) at kawa.repl.main(repl.java:866) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?27257> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |