fix(frontends/lean/elaborator): visit_expr_quote bug
This commit is contained in:
parent
0b1525b58e
commit
3615073faf
1 changed files with 2 additions and 0 deletions
|
|
@ -3316,6 +3316,8 @@ expr elaborator::visit_expr_quote(expr const & e, optional<expr> const & expecte
|
|||
});
|
||||
s = Fun(locals, s);
|
||||
expr new_s = visit(s, none_expr());
|
||||
synthesize();
|
||||
new_s = instantiate_mvars(new_s);
|
||||
if (has_param_univ(new_s))
|
||||
throw elaborator_exception(e, "invalid quotation, contains universe parameter");
|
||||
if (has_univ_metavar(new_s))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue