]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: reject methods on non-locals, even if symbol exists
authorDaniel Morsing <daniel.morsing@gmail.com>
Wed, 20 Mar 2013 21:18:20 +0000 (22:18 +0100)
committerDaniel Morsing <daniel.morsing@gmail.com>
Wed, 20 Mar 2013 21:18:20 +0000 (22:18 +0100)
commit7c3694c4de2504eb39196d3c4b0da0f2f4e45ffc
treea743c4d75c13c9cc6a1cf380d284b8887573f941
parentd3c758d7d2a29f86d4d75bc29363532c6b8c49b0
cmd/gc: reject methods on non-locals, even if symbol exists

Fixes #5089.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7767044
src/cmd/gc/dcl.c
test/fixedbugs/issue5089.go [new file with mode: 0644]