Commit 4b2f1f76 authored by obscuren's avatar obscuren

idx should return -1

parent df3366d9
...@@ -397,5 +397,5 @@ func (it *ValueIterator) Value() *Value { ...@@ -397,5 +397,5 @@ func (it *ValueIterator) Value() *Value {
} }
func (it *ValueIterator) Idx() int { func (it *ValueIterator) Idx() int {
return it.idx return it.idx - 1
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment