What steps will reproduce the problem?
1. Run the following program (with or without type checking):
def f() :: Integer
signal
What is the expected output? What do you see instead?
Expected output:
Compile error
Actual output:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size:
0
at java.util.LinkedList.entry(LinkedList.java:365)
at java.util.LinkedList.get(LinkedList.java:315)
at orc.ast.extended.declaration.def.AggregateDef.simplify(AggregateDef.java:63)
at orc.ast.extended.declaration.DefsDeclaration.bindto(DefsDeclaration.java:84)
at orc.ast.extended.expression.Declare.simplify(Declare.java:41)
at orc.ast.extended.expression.Declare.simplify(Declare.java:41)
at orc.ast.extended.expression.Declare.simplify(Declare.java:41)
at orc.ast.extended.expression.Declare.simplify(Declare.java:41)
at orc.ast.extended.expression.Declare.simplify(Declare.java:41)
at orc.ast.extended.expression.Declare.simplify(Declare.java:41)
at orc.ast.extended.expression.Declare.simplify(Declare.java:41)
at orc.ast.extended.expression.Declare.simplify(Declare.java:41)
at orc.ast.extended.expression.Declare.simplify(Declare.java:41)
at orc.OrcCompiler.compileAstToOil(OrcCompiler.java:184)
at orc.OrcCompiler.call(OrcCompiler.java:86)
at orc.Orc.main(Orc.java:45)
Original issue reported on code.google.com by jthywissen on 10 Mar 2010 at 10:06
Original issue reported on code.google.com by
jthywissen
on 10 Mar 2010 at 10:06