diff options
author | Russ Cox <rsc@golang.org> | 2010-09-30 14:59:41 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-09-30 14:59:41 -0400 |
commit | bee2d5b0ad241bb15ce79d22661a12dd01f8e992 (patch) | |
tree | 4b44eaec98a9239e65987f0013197bbedde30df4 /test/method.go | |
parent | 6117652d8d815faf1fc800ea10aeaee8eceaec3f (diff) | |
download | go-bee2d5b0ad241bb15ce79d22661a12dd01f8e992.tar.gz go-bee2d5b0ad241bb15ce79d22661a12dd01f8e992.zip |
gc, spec, tests: no auto-indirect of pointer to interface value
Implies no embedding of pointer to interface value either.
R=gri, iant, ken2, r, r2
CC=golang-dev
https://golang.org/cl/2289041
Diffstat (limited to 'test/method.go')
-rw-r--r-- | test/method.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/method.go b/test/method.go index b52d97894c..b5a02c6873 100644 --- a/test/method.go +++ b/test/method.go @@ -124,9 +124,4 @@ func main() { println("Val.val(v):", Val.val(v)) panic("fail") } - pv := &v - if pv.val() != 3 { - println("pv.val():", pv.val()) - panic("fail") - } } |