TypeDescriptor constype = cons.getLogicStatement().typecheck(sa);
if (constype == null) {
+ System.out.println("Failed attempting to type constraint");
ok = false;
} else if (constype != ReservedTypeDescriptor.INT) {
er.report(null, "Type of guard must be 'int' not '" + constype.getSymbol() + "'");
assert qn.getLabel().equals("quantifier");
Quantifier quantifier = parse_quantifier(qn);
if (quantifier == null) {
+ System.out.println("Failed parsing quantifier");
ok = false;
} else {
constraint.addQuantifier(quantifier);
LogicStatement logicexpr = parse_body(pn.getChild("body"));
if (logicexpr == null) {
+ System.out.println("Failed parsing logical expression");
ok = false;
} else {
constraint.setLogicStatement(logicexpr);