]> Cypherpunks repositories - gostls13.git/commit
gc: Don't pollute the xmethod list with non-methods.
authorLuuk van Dijk <lvd@golang.org>
Thu, 3 Nov 2011 16:51:15 +0000 (17:51 +0100)
committerLuuk van Dijk <lvd@golang.org>
Thu, 3 Nov 2011 16:51:15 +0000 (17:51 +0100)
commit11075ed893193a415d6b16cd28f06ad4bcc49092
treedc0533858172dd8f0882662412608917d6ad69a1
parent80bce97e45d99e7784bfa1d7d3563126d8c233e8
gc: Don't pollute the xmethod list with non-methods.

Fixes #2355.

I have a test, but not sure if it's worth adding.  Instead i've made
the patching-over in reflect.c methods more fatal and more descriptive.

R=rsc
CC=golang-dev
https://golang.org/cl/5302082
src/cmd/gc/reflect.c
src/cmd/gc/subr.c
test/fixedbugs/bug372.go [new file with mode: 0644]