File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ const SUPPORTED_TYPES = Dict{Symbol,Type}(
16
16
)
17
17
# n.b. Benchmark type not included here, since it is gensym'd
18
18
19
- const CUSTOM_CONVERT_TYPES = Type[]
20
- function _convert end
19
+ function customisable_result_recover end
21
20
22
21
function JSON. lower (x:: Union{values(SUPPORTED_TYPES)...} )
23
22
d = Dict {String,Any} ()
@@ -54,8 +53,8 @@ function recover(x::Vector)
54
53
for i in 1 : fc
55
54
ft = fieldtype (T, i)
56
55
fn = String (fieldname (T, i))
57
- if ft in CUSTOM_CONVERT_TYPES
58
- xsi = _convert (ft, fields[fn])
56
+ if fn == " customisable_result "
57
+ xsi = customisable_result_recover ( fields[fn])
59
58
elseif ft <: Function
60
59
xsi = BenchmarkTools. _nothing_func
61
60
elseif ft <: get (SUPPORTED_TYPES, nameof (ft), Union{})
You can’t perform that action at this time.
0 commit comments