chore: proper trace message class
This commit is contained in:
parent
2bd04285f8
commit
23f3de5061
1 changed files with 2 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ partial def mkEqnTypes (declNames : Array Name) (mvarId : MVarId) : MetaM (Array
|
|||
return eqnTypes
|
||||
where
|
||||
go (mvarId : MVarId) : ReaderT Context (StateRefT (Array Expr) MetaM) Unit := do
|
||||
trace[Elab.definition.structural.eqns] "mkEqnTypes step\n{MessageData.ofGoal mvarId}"
|
||||
trace[Elab.definition.eqns] "mkEqnTypes step\n{MessageData.ofGoal mvarId}"
|
||||
if (← tryURefl mvarId) then
|
||||
saveEqn mvarId
|
||||
return ()
|
||||
|
|
@ -370,5 +370,6 @@ def getUnfoldFor? (declName : Name) (getInfo? : Unit → Option EqnInfoCore) : M
|
|||
|
||||
builtin_initialize
|
||||
registerTraceClass `Elab.definition.unfoldEqn
|
||||
registerTraceClass `Elab.definition.eqns
|
||||
|
||||
end Lean.Elab.Eqns
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue