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
See #56741 (comment)
This is also the case in your stack trace: strings.genSplit({0x0, 0x2a}, ....
Make sure that your program does not have a data race and the string does not come from an unsafe source. Otherwise, please provide a minimal reproducer.
Go version
go version go1.21.12.linux-amd64/
Output of
go env
in your module/workspace:What did you do?
when i call
strings.Split
method , panic happened, pleaseWhat did you see happen?
when i call
strings.Split
method , panic happened, pleaseWhat did you expect to see?
I expect
strings.Split
return string sliceThe text was updated successfully, but these errors were encountered: