]> Cypherpunks repositories - gostls13.git/commit
reflect: fix test of whether structs are identical
authorIan Lance Taylor <iant@golang.org>
Wed, 7 Nov 2012 19:55:35 +0000 (11:55 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 7 Nov 2012 19:55:35 +0000 (11:55 -0800)
commitf8614a6645d87777d222f0809cbf1b3f108c3ef5
treee9f94f9c1010dd545167ac48f7e0091a757195ea
parent768ba46cc1bbff1c8f49f395d551ffb75b0b6bdf
reflect: fix test of whether structs are identical

The old code worked with gc, I assume because the linker
unified identical strings, but it failed with gccgo.

R=rsc
CC=gobot, golang-dev
https://golang.org/cl/6826063
src/pkg/reflect/type.go
test/fixedbugs/bug468.dir/p1.go [new file with mode: 0644]
test/fixedbugs/bug468.dir/p2.go [new file with mode: 0644]
test/fixedbugs/bug468.go [new file with mode: 0644]