]> Cypherpunks repositories - gostls13.git/commit
gofmt: remove redundant check in rewriter
authorRobert Griesemer <gri@golang.org>
Mon, 30 Jun 2014 21:40:12 +0000 (14:40 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 30 Jun 2014 21:40:12 +0000 (14:40 -0700)
commit6a228239392fd4f3a3d04c816be4fdd39d3a36b1
tree44cc13f525d62a6ddeeec8cfbd1fc6811b8d4ef2
parent1abab32c6512ca5c2c3b3855a0f6d108ef2ff3b6
gofmt: remove redundant check in rewriter

If the actual types of two reflect values are
the same and the values are structs, they must
have the same number of fields.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/108280043
src/cmd/gofmt/rewrite.go