// APPLY_SELECTOR) is given by an attribute and obtained via indexOf below
// The argument is only valid if it is the proper constructor.
selectorIndex = Datatype::indexOf(selector);
- if (selectorIndex < 0 || selectorIndex >= c.getNumArgs())
+ if (selectorIndex < 0
+ || selectorIndex >= static_cast<int>(c.getNumArgs()))
{
selectorIndex = -1;
}
einfo.d_exp.insert(einfo.d_exp.end(), exp[i].begin(), exp[i].end());
// inference is rewriting the substituted node
Node nrc = Rewriter::rewrite( sn );
- Kind nrck = nrc.getKind();
//if rewrites to a constant, then do the inference and mark as reduced
if( nrc.isConst() ){
if( effort<3 ){