chore(library/equations_compiler): test elim_match on nonrec equations
This commit is contained in:
parent
50c147cd0e
commit
06b02e4912
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ expr compile_equations(environment & env, options const & opts, metavar_context
|
|||
optional<expr> eqns1 = try_structural_rec(ctx.get(), eqns, arg_idx);
|
||||
if (eqns1) {
|
||||
elim_match(env, opts, mctx, lctx, *eqns1);
|
||||
} else if (!is_recursive_eqns(ctx, eqns)) {
|
||||
elim_match(env, opts, mctx, lctx, eqns);
|
||||
}
|
||||
|
||||
// test unbounded_rec
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue