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
+1 -1
View File
@@ -33,7 +33,7 @@ func evalLength(ctx kern.ExprContext, opTerm *scan.Term) (v any, err error) {
}
if array.IsList(childValue) {
ls, _ := childValue.(*array.ListType)
ls, _ := childValue.(*array.ArrayType)
v = int64(len(*ls))
} else if str.IsString(childValue) {
s, _ := childValue.(string)