The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list.
This commit is contained in:
+3
-3
@@ -89,12 +89,12 @@ func evalGroupBy(ctx kern.ExprContext, opTerm *scan.Term) (v any, err error) {
|
||||
sItemKey = strconv.Itoa(int(it.Index()))
|
||||
}
|
||||
|
||||
var ls *array.ListType
|
||||
var ls *array.ArrayType
|
||||
if lsAny, exists := values.GetItem(sItemKey); exists && lsAny != nil {
|
||||
ls = lsAny.(*array.ListType)
|
||||
ls = lsAny.(*array.ArrayType)
|
||||
}
|
||||
if ls == nil {
|
||||
ls = array.NewListA()
|
||||
ls = array.NewArrayA()
|
||||
}
|
||||
ls.AppendItem(item)
|
||||
values.SetItem(sItemKey, ls)
|
||||
|
||||
Reference in New Issue
Block a user