diff options
author | Anthony Martin <ality@pbrane.org> | 2011-05-24 19:48:19 -0400 |
---|---|---|
committer | Anthony Martin <ality@pbrane.org> | 2011-05-24 19:48:19 -0400 |
commit | 1de642daac3ce711964b0450b01ccdbea38825b7 (patch) | |
tree | d11f18647d25dd7b9ea48a8a915c604bffba6081 /test/golden.out | |
parent | 9af852df5fb26b507b4e4be6dafe12a280334131 (diff) | |
download | go-1de642daac3ce711964b0450b01ccdbea38825b7.tar.gz |
gc: relax assignability of method receivers
The spec was adjusted in commit df410d6a4842 to allow the
implicit assignment of strutures with unexported fields in
method receivers. This change updates the compiler.
Also moved bug322 into fixedbugs and updated golden.out
to reflect the removal of the last known bug.
Fixes issue 1402.
R=golang-dev, gri, rsc
CC=golang-dev
http://codereview.appspot.com/4526069
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'test/golden.out')
-rw-r--r-- | test/golden.out | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/golden.out b/test/golden.out index 725e8de44..4400e41dd 100644 --- a/test/golden.out +++ b/test/golden.out @@ -161,8 +161,3 @@ panic: interface conversion: interface is main.T, not main.T 0x0 == bugs/ - -=========== bugs/bug322.go -bugs/bug322.dir/main.go:19: implicit assignment of unexported field 'x' of lib.T in method receiver -bugs/bug322.dir/main.go:32: implicit assignment of unexported field 'x' of lib.T in method receiver -BUG: fails incorrectly |