File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1758,7 +1758,7 @@ te_expr* te_parser::base(te_parser::state* theState)
17581758 }
17591759 else if (is_function (theState->m_value ) || is_closure (theState->m_value ))
17601760 {
1761- const int arity = get_arity (theState->m_value );
1761+ const auto arity = get_arity (theState->m_value );
17621762
17631763 ret = new_expr (theState->m_varType , theState->m_value );
17641764 if (is_closure (theState->m_value ))
@@ -2234,7 +2234,7 @@ void te_parser::optimize(te_expr* texp)
22342234 /* Only optimize out functions flagged as pure. */
22352235 if (is_pure (texp->m_type ))
22362236 {
2237- const int arity = get_arity (texp->m_value );
2237+ const auto arity = get_arity (texp->m_value );
22382238 bool known{ true };
22392239 for (int i = 0 ; i < arity; ++i)
22402240 {
You can’t perform that action at this time.
0 commit comments