Skip to content

Commit

Permalink
fix #2, typo in Base.iterate(j::JSON.Array{IOString{T}}
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed Sep 27, 2018
1 parent 2a66639 commit b4cfab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractArray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Base.length(j::JSON.Array{IOString{T}}) where T =
pump(() -> collection_length(j), j.s)

Base.getindex(j::JSON.Array{IOString{T}}, i::Integer) where T =
pump(() -> getvalue(x, getindex_ic(j, i)...), j.s)
pump(() -> getvalue(j.s, getindex_ic(j, i)...), j.s)

Base.iterate(j::JSON.Array{IOString{T}}, i = (j.i, 0x00)) where T =
pump(() -> _iterate(j, i), j.s)

0 comments on commit b4cfab3

Please sign in to comment.