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
@@ -29,7 +29,7 @@ func NewIterator(ctx kern.ExprContext, value any, ops []*scan.Term) (it kern.Ite
|
||||
}
|
||||
|
||||
switch v := value.(type) {
|
||||
case *array.ListType:
|
||||
case *array.ArrayType:
|
||||
it = NewListIterator(v, nil)
|
||||
case *list.LinkedList:
|
||||
it = NewLinkedListIterator(v, nil)
|
||||
|
||||
Reference in New Issue
Block a user