chore: print decl size at trace message
This commit is contained in:
parent
4c9c2d2bf7
commit
14944aeb3c
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ def checkpoint (stepName : Name) (decls : Array Decl) : CompilerM Unit := do
|
|||
withOptions (fun opts => opts.setBool `pp.motives.pi false) do
|
||||
let clsName := `Compiler ++ stepName
|
||||
if (← Lean.isTracingEnabledFor clsName) then
|
||||
Lean.addTrace clsName m!"\n{← ppDecl decl}"
|
||||
Lean.addTrace clsName m!"size: {decl.size}\n{← ppDecl decl}"
|
||||
if compiler.check.get (← getOptions) then
|
||||
decl.check
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue