The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list.
This commit is contained in:
+2
-2
@@ -260,7 +260,7 @@ func registerLocalFunctions(ctx kern.ExprContext) {
|
||||
vars := ctx.EnumVars(func(name string) bool {
|
||||
return len(name) > 0 && name[0] == '_'
|
||||
})
|
||||
result = array.ListFromStrings(vars)
|
||||
result = array.ArrayFromStrings(vars)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -312,7 +312,7 @@ func registerLocalFunctions(ctx kern.ExprContext) {
|
||||
name, _, _ := strings.Cut(e, "=")
|
||||
vars = append(vars, name)
|
||||
}
|
||||
result = array.ListFromStrings(vars)
|
||||
result = array.ArrayFromStrings(vars)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user