diff options
Diffstat (limited to 'test/ken/cplx3.go')
| -rw-r--r-- | test/ken/cplx3.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ken/cplx3.go b/test/ken/cplx3.go index 979e53f56..fa6ff1d52 100644 --- a/test/ken/cplx3.go +++ b/test/ken/cplx3.go @@ -25,7 +25,7 @@ func main() { println(c) var a interface{} - switch c := reflect.NewValue(a); c.Kind() { + switch c := reflect.ValueOf(a); c.Kind() { case reflect.Complex64, reflect.Complex128: v := c.Complex() _, _ = complex128(v), true |
