]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: fix printf test for unsafe Pointer
authorRob Pike <r@golang.org>
Tue, 26 Feb 2013 18:36:13 +0000 (10:36 -0800)
committerRob Pike <r@golang.org>
Tue, 26 Feb 2013 18:36:13 +0000 (10:36 -0800)
commit6c2cbdb1428340fcbf7305d82147b87070788b16
tree812324f22cb215aff7c7aa01771c5b58bea1e544
parentbd92dd6a5f2576fbf8144da0e531a57b4ebc8961
cmd/vet: fix printf test for unsafe Pointer
And fix test. Pointer to unsafe.Pointer tests nothing important...
Also identify the incorrect type: go/types.Type is a Stringer.

Also fix a couple of incorrect format verbs found by new printf checker,
now that we can run it on more files.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7385051
src/cmd/vet/print.go
src/cmd/vet/test_print.go
src/pkg/sync/atomic/atomic_test.go