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
The builtin len() function fails on the following:
gomacro> a := [...]int{1,2,3}
gomacro> a
[1 2 3] // [3]int
gomacro> cap(a)
3 // int
gomacro> len(a)
runtime error: invalid memory address or nil pointer dereference
This is on an x86-64 Linux system running kernel 4.14.60. Doubt the system I'm running has much to do with this error but if so just let me know and I can provide further details.
Thanks,
Jason
The text was updated successfully, but these errors were encountered:
The builtin len() function fails on the following:
This is on an x86-64 Linux system running kernel 4.14.60. Doubt the system I'm running has much to do with this error but if so just let me know and I can provide further details.
Thanks,
Jason
The text was updated successfully, but these errors were encountered: