You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func arrayIndex(k value) int {
if n, ok := k.(float64); ok {
fmt.Println("array_index", k, n)
} else {
t := reflect.TypeOf(k)
fmt.Println("array_index", t, k)
}
if n, ok := k.(float64); ok {
if i := int(n); float64(i) == n {
return i
}
}
return -1
}
table
is ok, butarray
will panic.add some debug log
tables.go:215
it is a
string
type.The text was updated successfully, but these errors were encountered: