Skip to content

Instantly share code, notes, and snippets.

@alecthomas
Created September 2, 2013 16:54
Show Gist options
  • Save alecthomas/6414976 to your computer and use it in GitHub Desktop.
Save alecthomas/6414976 to your computer and use it in GitHub Desktop.
Inconsistent "go vet" behaviour...
[alec@cavern:~/.go/src/github.com/alecthomas/gozmq]vet *.go
zmq_3_x_test.go:204: unreachable code
zmq_test.go:127: arg iothreads for printf verb %s of wrong type: int
zmq_test.go:140: arg iothreads for printf verb %s of wrong type: int
zmq_test.go:168: arg rc for printf verb %d of wrong type: error
[alec@cavern:~/.go/src/github.com/alecthomas/gozmq]vet zmq_test.go
[alec@cavern:~/.go/src/github.com/alecthomas/gozmq]vet zmq_3_x_test.go
zmq_3_x_test.go:204: unreachable code
[alec@cavern:~/.go/src/github.com/alecthomas/gozmq]vet .
zmq_test.go:127: arg iothreads for printf verb %s of wrong type: int
zmq_test.go:140: arg iothreads for printf verb %s of wrong type: int
zmq_test.go:168: arg rc for printf verb %d of wrong type: error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment