Skip to content

Commit

Permalink
fix: message duplication in log (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-christiansen authored Jul 19, 2024
1 parent 3f7d192 commit 6c92ccc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Manual/Meta.lean
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def leanInline : RoleExpander
let (newMsgs, tree) ← withInfoTreeContext (mkInfoTree := mkInfoTree `leanInline (← getRef)) do
let initMsgs ← Core.getMessageLog
try
Core.resetMessageLog
discard <| Elab.Term.elabTerm stx none
Core.getMessageLog
finally
Expand Down

0 comments on commit 6c92ccc

Please sign in to comment.