Skip to content
Snippets Groups Projects
Commit e617765c authored by dgelessus's avatar dgelessus
Browse files

Throw exception in an impossible null case

parent 56e3ba8d
Branches
Tags
No related merge requests found
......@@ -214,8 +214,7 @@ public class GenerateAlternativeCodeForParser extends DepthFirstAdapter
}
else if(type_name.equals("null"))
{
type_name = "null";
type = "Object";
throw new RuntimeException("Simple term has null type - this should never happen");
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment