-
Notifications
You must be signed in to change notification settings - Fork 926
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reflect.SliceHeader uses uintptr for Len and Cap instead of int #3093
Comments
Please take a look here: #1284 I believe this is a duplicate, and there is nothing to fix. |
Closing. I'll try to come up with a patch for |
|
The one change I would make to the prior comment is - hdr := *(*reflect.StringHeader)(unsafe.Pointer(&s))
+ hdr := (*reflect.StringHeader)(unsafe.Pointer(&s)) |
Just so you know: casting to |
https://github.com/golang/go/blob/master/src/reflect/value.go#L2695
vs
https://github.com/tinygo-org/tinygo/blob/release/src/reflect/value.go#L773
This causes a build failure for https://github.com/goccy/go-json
The text was updated successfully, but these errors were encountered: