Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padding of type UInt8 is not compatible #121

Open
freddycct opened this issue Apr 10, 2023 · 0 comments
Open

Padding of type UInt8 is not compatible #121

freddycct opened this issue Apr 10, 2023 · 0 comments

Comments

@freddycct
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant