array-iterator.go: changed 'list' name component with 'array'
This commit is contained in:
+1
-1
@@ -140,7 +140,7 @@ func evalIterator(ctx kern.ExprContext, opTerm *scan.Term) (v any, err error) {
|
||||
} else if a, ok := firstChildValue.(*array.ArrayType); ok {
|
||||
var args []any
|
||||
if args, err = evalSiblings(ctx, opTerm.Children, nil); err == nil {
|
||||
v = NewListIterator(a, args)
|
||||
v = NewArrayIteratorFromArray(a, args)
|
||||
}
|
||||
} else if ll, ok := firstChildValue.(*list.LinkedList); ok {
|
||||
var args []any
|
||||
|
||||
Reference in New Issue
Block a user