We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 254f234 commit 4c2633cCopy full SHA for 4c2633c
test/buildkitetestjson.jl
@@ -29,7 +29,7 @@ function json_repr(io::IO, val::String; indent::Int=0)
29
end
30
json_repr(io::IO, val::Integer; indent::Int=0) = print(io, val)
31
json_repr(io::IO, val::Float64; indent::Int=0) = print(io, val)
32
-function json_repr(io::IO, val::Vector; indent::Int=0)
+function json_repr(io::IO, val::AbstractVector; indent::Int=0)
33
print(io, '[')
34
for elt in val
35
print(io, '\n', ' '^(indent + 2))
0 commit comments