The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list.

This commit is contained in:
2026-07-12 07:35:28 +02:00
parent b6da9bcad4
commit 77f36642b4
37 changed files with 180 additions and 196 deletions
+3 -3
View File
@@ -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)