diff --git a/Lean4CheckerTests/OpenPrivate.lean b/Lean4CheckerTests/OpenPrivate.lean index 0d3686a..7ade0b9 100644 --- a/Lean4CheckerTests/OpenPrivate.lean +++ b/Lean4CheckerTests/OpenPrivate.lean @@ -49,7 +49,7 @@ def elabOpenPrivateLike (ids : Array Ident) (tgts mods : Option (Array Ident)) (f : (priv full user : Name) → CommandElabM Name) : CommandElabM Unit := do let mut names := NameSet.empty for tgt in tgts.getD #[] do - let n ← resolveGlobalConstNoOverloadWithInfo tgt + let n ← liftCoreM <| realizeGlobalConstNoOverloadWithInfo tgt names ← Meta.collectPrivateIn n names for mod in mods.getD #[] do let some modIdx := (← getEnv).moduleIdxForModule? mod.getId diff --git a/lean-toolchain b/lean-toolchain index 9ad3040..d8a6d7e 100644 --- a/lean-toolchain +++ b/lean-toolchain @@ -1 +1 @@ -leanprover/lean4:v4.7.0 +leanprover/lean4:v4.8.0-rc1