Skip to content

Commit b4cfab3

Browse files
committed
fix #2, typo in Base.iterate(j::JSON.Array{IOString{T}}
1 parent 2a66639 commit b4cfab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractArray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Base.length(j::JSON.Array{IOString{T}}) where T =
3434
pump(() -> collection_length(j), j.s)
3535

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

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

0 commit comments

Comments
 (0)