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
# Download
curl https://raw.githubusercontent.com/golang/go/53fd522c0db58f3bd75d85295f46bb06e8ab1a9b/misc/cgo/test/issue14838.go \
-o /tmp/x.go
# Run go vet
go vet /tmp/x.go
What did you expect to see?
No output and exit status 0
What did you see instead?
/tmp/x.go:31: possibly passing Go type with embedded pointer to C
exit status 1
The text was updated successfully, but these errors were encountered:
quentinmit
changed the title
go vet doesn't seem to like C.CBytes
cmd/vet: doesn't seem to like C.CBytes
Oct 3, 2016
What version of Go are you using (
go version
)?1.7.1
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOOS="darwin"
What did you do?
Ran
go vet
ongo/misc/cgo/test/issue14838.go
What did you expect to see?
No output and exit status 0
What did you see instead?
The text was updated successfully, but these errors were encountered: