diff options
author | Russ Cox <rsc@golang.org> | 2010-06-21 13:19:29 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-06-21 13:19:29 -0700 |
commit | fc090a3a54d866c5cb65cb985443234571d7e73d (patch) | |
tree | 0aa77146f07d3f9662df9fbbd7d4e824f362e9c3 /test/ken | |
parent | 2fc0b4f01b8ef79c1cffc22080711f067cc072ce (diff) | |
download | go-fc090a3a54d866c5cb65cb985443234571d7e73d.tar.gz go-fc090a3a54d866c5cb65cb985443234571d7e73d.zip |
reflect: add Type.Bits method, add tags to prohibit conversions
gob: substitute slice for map
R=r
CC=golang-dev
https://golang.org/cl/1699045
Diffstat (limited to 'test/ken')
-rw-r--r-- | test/ken/cplx3.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ken/cplx3.go b/test/ken/cplx3.go index 6c3826df6a..997894b418 100644 --- a/test/ken/cplx3.go +++ b/test/ken/cplx3.go @@ -30,9 +30,6 @@ func main() { var a interface{} switch c := reflect.NewValue(a).(type) { - case *reflect.Complex64Value: - v := c.Get() - _, _ = complex64(v), true case *reflect.ComplexValue: if complexBits == 64 { v := c.Get() |