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)
1758
1758
}
1759
1759
else if (is_function (theState->m_value ) || is_closure (theState->m_value ))
1760
1760
{
1761
- const int arity = get_arity (theState->m_value );
1761
+ const auto arity = get_arity (theState->m_value );
1762
1762
1763
1763
ret = new_expr (theState->m_varType , theState->m_value );
1764
1764
if (is_closure (theState->m_value ))
@@ -2234,7 +2234,7 @@ void te_parser::optimize(te_expr* texp)
2234
2234
/* Only optimize out functions flagged as pure. */
2235
2235
if (is_pure (texp->m_type ))
2236
2236
{
2237
- const int arity = get_arity (texp->m_value );
2237
+ const auto arity = get_arity (texp->m_value );
2238
2238
bool known{ true };
2239
2239
for (int i = 0 ; i < arity; ++i)
2240
2240
{
You can’t perform that action at this time.
0 commit comments