Skip to content

Commit

Permalink
evalExprCore Elab.block
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Nov 14, 2024
1 parent 4b17c42 commit 8245a20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Lean/Meta/Eval.lean
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ unsafe def evalExprCore (α) (value : Expr) (checkType : Expr → MetaM Unit) (s
value, hints := ReducibilityHints.opaque,
safety
}
withTraceNode `Elab.block (fun _ => pure "") do
modifyEnv (·.synchronize)
addAndCompile decl
evalConst α name

Expand Down

0 comments on commit 8245a20

Please sign in to comment.