Skip to content

Commit 1f4ecfd

Browse files
committed
Fix 1.4.0 upgrade
1 parent fe5737d commit 1f4ecfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serialization/Upgrades/1.4.0.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ push!(upgrade_scripts_set, UpgradeScript(
265265
end
266266
elseif type_name in ["Vector", "Set", "Matrix"]
267267
subtype = dict[:_type][:params]
268-
if dict[:data] isa Vector{String}
268+
if all(e -> e isa String, dict[:data])
269269
dict[:data] = dict[:data]
270270

271271
ref_entry = get(s.id_to_dict, Symbol(dict[:data][1]), nothing)

0 commit comments

Comments
 (0)