fix: fresh macro scope per command
This commit is contained in:
parent
82078fba84
commit
8d021e0cec
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ private def elabCommandUsing (stx : Syntax) : List CommandElab → CommandElabM
|
|||
| Exception.unsupportedSyntax => elabCommandUsing elabFns)
|
||||
|
||||
def elabCommandAux (stx : Syntax) : CommandElabM Unit :=
|
||||
withIncRecDepth stx $ match stx with
|
||||
withIncRecDepth stx $ withFreshMacroScope $ match stx with
|
||||
| Syntax.node _ _ => do
|
||||
s ← get;
|
||||
let table := (commandElabAttribute.ext.getState s.env).table;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue