Skip to content

Commit

Permalink
perf: no need to track env refcount
Browse files Browse the repository at this point in the history
  • Loading branch information
hargoniX committed Aug 27, 2024
1 parent d684d59 commit 83f718b
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 @@ -13,7 +13,7 @@ namespace DocGen4
open Lean System IO

def envOfImports (imports : Array Name) : IO Environment := do
importModules (imports.map (Import.mk · false)) Options.empty
importModules (imports.map (Import.mk · false)) Options.empty (leakEnv := true)

def loadInit (imports : Array Name) : IO Hierarchy := do
let env ← envOfImports imports
Expand Down

0 comments on commit 83f718b

Please sign in to comment.