chore: export Name.eraseMacroScopes
This commit is contained in:
parent
908e5f7acd
commit
54c1607b36
1 changed files with 1 additions and 0 deletions
|
|
@ -334,6 +334,7 @@ private def eraseMacroScopesAux : Name → Name
|
|||
| Name.num p _ _ => eraseMacroScopesAux p
|
||||
| Name.anonymous => unreachable!
|
||||
|
||||
@[export lean_erase_macro_scopes]
|
||||
def Name.eraseMacroScopes (n : Name) : Name :=
|
||||
if n.hasMacroScopes then eraseMacroScopesAux n else n
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue