Closed
Description
Thank you for answering #627. So far it works well, however I found an issue:
using JLD2
struct Foo
x::Int
end
jldsave("test.jld2"; type=Foo)
load("test.jld2", "type"; typemap=Dict("Main.Foo"=>JLD2.Upgrade(Foo)))
This should reasonably yield Foo
, but it yields Upgrade(Foo)
. To put it another way, if I'm deserializing a Dict(Foo=>4)
, it'll become Dict(Upgrade(Foo)=>4)
.