From 5165ffca83404c2a2eb6698d917ec5decaae2420 Mon Sep 17 00:00:00 2001 From: MichaelHatherly Date: Wed, 6 Nov 2024 13:35:04 +0000 Subject: [PATCH] Use `invokelatest` to try and avoid world age issue --- src/serializer.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serializer.jl b/src/serializer.jl index e3ad1e9..49a31c7 100644 --- a/src/serializer.jl +++ b/src/serializer.jl @@ -91,7 +91,7 @@ function _stripcode( cd(@__DIR__) do pkgid = Base.PkgId(Base.UUID("9e88b42a-f829-5b0c-bbe9-9e923198166b"), "Serialization") buffer = seekstart(IOBuffer(xor.(read(\"$(basename(jls))\"), $(repr(xorshift))))) - for x in Base.require(pkgid).deserialize(buffer).args + for x in Base.invokelatest(Base.require(pkgid).deserialize, buffer).args Core.eval(@__MODULE__, x) end end