aboutsummaryrefslogtreecommitdiff
path: root/test/recover2.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-01-19 23:09:00 -0500
committerRuss Cox <rsc@golang.org>2011-01-19 23:09:00 -0500
commitf2b5a07453277de6bc500dc283799441cc375239 (patch)
tree2c5fdc55fd72274b49b5eff68736ff3075389b3d /test/recover2.go
parent0849944694543a3446da4b1fa0c3d314781ced14 (diff)
downloadgo-f2b5a07453277de6bc500dc283799441cc375239.tar.gz
go-f2b5a07453277de6bc500dc283799441cc375239.zip
delete float, complex - code changes
also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev https://golang.org/cl/3991043
Diffstat (limited to 'test/recover2.go')
-rw-r--r--test/recover2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recover2.go b/test/recover2.go
index f33af4457b..9affe25d47 100644
--- a/test/recover2.go
+++ b/test/recover2.go
@@ -58,7 +58,7 @@ func test3() {
func test4() {
defer mustRecover("interface")
var x interface{} = 1
- println(x.(float))
+ println(x.(float32))
}
type T struct {