chore: remove unnecessary partial
TODO: we should generate an error/warning when `partial` is not necessary
This commit is contained in:
parent
a2613a36a4
commit
e07823bb12
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ register_builtin_option hygiene : Bool := {
|
|||
descr := "Annotate identifiers in quotations such that they are resolved relative to the scope at their declaration, not that at their eventual use/expansion, to avoid accidental capturing. Note that quotations/notations already defined are unaffected."
|
||||
}
|
||||
|
||||
partial def getAntiquotationIds (stx : Syntax) : TermElabM (Array Syntax) := do
|
||||
def getAntiquotationIds (stx : Syntax) : TermElabM (Array Syntax) := do
|
||||
let mut ids := #[]
|
||||
for stx in stx.topDown do
|
||||
if (isAntiquot stx || isTokenAntiquot stx) && !isEscapedAntiquot stx then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue