BSON.jl icon indicating copy to clipboard operation
BSON.jl copied to clipboard

Padding of type UInt8 is not compatible

Open freddycct opened this issue 1 year ago • 0 comments

b = Dict{Tuple{UInt8, Int}, Int}((1, 2) => 10)
BSON.@save "tmp.bson" b

results in

Padding of type UInt8 is not compatible with type Tuple{UInt8, Int64}.

[email protected]:184[inlined]
[email protected]:342[inlined]
[email protected]:1167[inlined]
[email protected]:1165[inlined]
reinterpret_(::Type{UInt8}, ::Vector{Tuple{UInt8, Int64}})@extensions.jl:93
[email protected]:98[inlined]
_lower_recursive(::Vector{Tuple{UInt8, Int64}}, ::IdDict{Any, Any}, ::Vector{Any})@write.jl:66
(::BSON.var"#5#9"{IdDict{Any, Any}, Vector{Any}})(::Vector{Tuple{UInt8, Int64}})@write.jl:66
applychildren!(::BSON.var"#5#9"{IdDict{Any, Any}, Vector{Any}}, ::Vector{Any})@BSON.jl:26

freddycct avatar Apr 10 '23 17:04 freddycct