fix(iterators): the index does not increase (#1399)
This commit is contained in:
parent
269820e800
commit
418fc971fc
@ -52,9 +52,9 @@ function NodeIterator:iterate()
|
||||
i = i + idx
|
||||
if n then
|
||||
return n, i
|
||||
else
|
||||
i = i + 1
|
||||
end
|
||||
else
|
||||
i = i + 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user