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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user