array-iterator.go: changed 'list' name component with 'array'

This commit is contained in:
2026-08-02 16:44:26 +02:00
parent e2b0a43640
commit 7e4baf9b6e
5 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -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: