feat(frontends/lean/parser): remove unnecessary restriction
This commit is contained in:
parent
1e6b3614ab
commit
b9c62af37d
1 changed files with 0 additions and 3 deletions
|
|
@ -1792,9 +1792,6 @@ expr parser::patexpr_to_pattern(expr const & pat_or_expr, bool skip_main_fn, buf
|
|||
}
|
||||
|
||||
expr parser::parse_pattern_or_expr(unsigned rbp) {
|
||||
if (m_in_quote) {
|
||||
throw parser_error("patterns cannot occur inside of quoted terms", pos());
|
||||
}
|
||||
all_id_local_scope scope(*this);
|
||||
return parse_expr(rbp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue