Skip to content

Commit 671e6c1

Browse files
committed
perf: avoid repeated lifts
1 parent d19b504 commit 671e6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lean/Elab/Command.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def withInitQuotContext (hint? : Option UInt64) (act : CommandElabM Unit) : Comm
611611
finally
612612
modify ({ · with nextMacroScope })
613613

614-
private partial def recordUsedSyntaxKinds (stx : Syntax) : CommandElabM Unit := do
614+
private partial def recordUsedSyntaxKinds (stx : Syntax) : CoreM Unit := do
615615
if let .node _ k .. := stx then
616616
-- do not record builtin parsers, they do not have to be imported
617617
if !(← Parser.builtinSyntaxNodeKindSetRef.get).contains k then

0 commit comments

Comments
 (0)