array-iterator.go: changed 'list' name component with 'array'
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ func NewIterator(ctx kern.ExprContext, value any, ops []*scan.Term) (it kern.Ite
|
||||
|
||||
switch v := value.(type) {
|
||||
case *array.ArrayType:
|
||||
it = NewListIterator(v, nil)
|
||||
it = NewArrayIteratorFromArray(v, nil)
|
||||
case *list.LinkedList:
|
||||
it = NewLinkedListIterator(v, nil)
|
||||
case *dict.DictType:
|
||||
|
||||
Reference in New Issue
Block a user