Skip to content

Commit

Permalink
Use invokelatest to try and avoid world age issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHatherly committed Nov 6, 2024
1 parent b531c61 commit 5165ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serializer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5165ffc

Please sign in to comment.