Skip to content

Commit

Permalink
Fix none-generated parse_specific array function
Browse files Browse the repository at this point in the history
When the compiler chooses not to generate a specific function, this returned a
plain dictionary instead of an array. Now we include the pre-parsed tag so
that the correct type is returned.
  • Loading branch information
Richard Palethorpe committed Sep 4, 2019
1 parent 8315b11 commit de8ae3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/read_direct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ function parse_specific(io::IO, ::Type{Array{T, N}}, tag::BSONType,
seek(io, endpos);
ret)
else
parse_doc(io, ctx)
parse_tag(io, tag, ctx)
end
end

Expand Down

2 comments on commit de8ae3a

@richiejp
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register branch=qs

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: "Tag with name 0.6.0 already exists and points to a different commit"

Please sign in to comment.