replaced ToInt() with ToGoInt()

This commit is contained in:
2024-06-26 04:25:49 +02:00
parent bbdf498cf3
commit f1e2163277
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ func evalLength(ctx ExprContext, self *term) (v any, err error) {
} else if it, ok := childValue.(Iterator); ok {
if extIt, ok := childValue.(ExtIterator); ok && extIt.HasOperation(countName) {
count, _ := extIt.CallOperation(countName, nil)
v, _ = ToInt(count, "")
v, _ = ToGoInt(count, "")
} else {
v = int64(it.Index() + 1)
}