The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list.
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ func (it *DictIterator) Current() (item any, err error) {
|
||||
case dictIterModeItems:
|
||||
a := *(it.a)
|
||||
pair := []any{it.keys[it.index], a[it.keys[it.index]]}
|
||||
item = array.NewList(pair)
|
||||
item = array.NewArray(pair)
|
||||
}
|
||||
} else {
|
||||
err = io.EOF
|
||||
|
||||
Reference in New Issue
Block a user