Previously the SMT2 printer would print pattern lists wrong when they were not printed as part of a binder containing it. This commit fixes this by removing an unused hardcoded restriction that led to issues when printing the ASTs of proof nodes containing patterns.
bool stillNeedToPrintParams = true;
bool forceBinary = false; // force N-ary to binary when outputing children
// operator
- if (n.getNumChildren() != 0 && k != kind::INST_PATTERN_LIST
- && k != kind::CONSTRUCTOR_TYPE)
+ if (n.getNumChildren() != 0 && k != kind::CONSTRUCTOR_TYPE)
{
out << '(';
}