Skip to content

Commit

Permalink
Update Load.lean
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser authored Dec 9, 2024
1 parent fae3926 commit 5ef12ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DocGen4/Load.lean
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ open Lean System IO

def envOfImports (imports : Array Name) : IO Environment := do
-- needed for modules which use syntax registered with `initialize add_parser_alias ..`
Lean.enableInitializersExecution
unsafe Lean.enableInitializersExecution
importModules (imports.map (Import.mk · false)) Options.empty (leakEnv := true)

def loadInit (imports : Array Name) : IO Hierarchy := do
Expand Down

0 comments on commit 5ef12ec

Please sign in to comment.