feat: register trace.Elab
This commit is contained in:
parent
44b70aca61
commit
305070d1a6
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Authors: Leonardo de Moura
|
||||
-/
|
||||
prelude
|
||||
import Init.Lean.Util.Trace
|
||||
import Init.Lean.Parser
|
||||
|
||||
namespace Lean
|
||||
|
|
@ -65,5 +66,8 @@ do ext : PersistentEnvExtension ElabAttributeEntry σ ← registerPersistentEnvE
|
|||
};
|
||||
pure { ext := ext, attr := attrImpl, kind := kind }
|
||||
|
||||
@[init] private def regTraceClasses : IO Unit :=
|
||||
registerTraceClass `Elab
|
||||
|
||||
end Elab
|
||||
end Lean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue