]> Cypherpunks repositories - gostls13.git/commit
fmt: fix inadvertent change to %#v
authorRuss Cox <rsc@golang.org>
Wed, 6 Jun 2012 19:08:00 +0000 (15:08 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 6 Jun 2012 19:08:00 +0000 (15:08 -0400)
commitee3c272611ab59ee68399596e5fb764b81a9dd8d
treef64f4ae44916fdd6e8b156decce0453c92e18de3
parent58993e514ec8ee306b305df7db761f73ae522d3a
fmt: fix inadvertent change to %#v

The reordering speedup in CL 6245068 changed the semantics
of %#v by delaying the clearing of some flags.  Restore the old
semantics and add a test.

Fixes #3706.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6302048
src/pkg/fmt/fmt_test.go
src/pkg/fmt/print.go