-
Bug
-
Resolution: Fixed
-
P5
-
1.0
-
0.9internal
-
sparc
-
generic
-
Not verified
The program in ~chan/oakbugs/badcode.2.oak causes the oakc compiler
to emit the following message:
oak.tools.oak.InternalError stackSize <error>
at oak.lang.Exception.<init>(Exception.oak:58)
at oak.tools.oak.InternalError.<init>(InternalError.oak)
at oak.tools.oak.Type.stackSize(Type.oak)
at oak.tools.tree.Context.declare(Context.oak)
at oak.tools.tree.VarDeclarationStatement.checkDeclaration(VarDeclarationStatement.oak)
at oak.tools.tree.DeclarationStatement.check(DeclarationStatement.oak)
at oak.tools.tree.CompoundStatement.check(CompoundStatement.oak)
at oak.tools.tree.IfStatement.check(IfStatement.oak)
at oak.tools.tree.CompoundStatement.check(CompoundStatement.oak)
at oak.tools.tree.Statement.checkMethod(Statement.oak)
oakc: an exception has occurred, please contact x47242.
to emit the following message:
oak.tools.oak.InternalError stackSize <error>
at oak.lang.Exception.<init>(Exception.oak:58)
at oak.tools.oak.InternalError.<init>(InternalError.oak)
at oak.tools.oak.Type.stackSize(Type.oak)
at oak.tools.tree.Context.declare(Context.oak)
at oak.tools.tree.VarDeclarationStatement.checkDeclaration(VarDeclarationStatement.oak)
at oak.tools.tree.DeclarationStatement.check(DeclarationStatement.oak)
at oak.tools.tree.CompoundStatement.check(CompoundStatement.oak)
at oak.tools.tree.IfStatement.check(IfStatement.oak)
at oak.tools.tree.CompoundStatement.check(CompoundStatement.oak)
at oak.tools.tree.Statement.checkMethod(Statement.oak)
oakc: an exception has occurred, please contact x47242.