diff options
author | Russ Cox <rsc@golang.org> | 2011-12-02 14:45:07 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-12-02 14:45:07 -0500 |
commit | 8247b22aaafa29eb6897ab4ea290130c44b7ff84 (patch) | |
tree | dfb486fdc7bae52618ae602648f86692a98bef9b /test/escape2.go | |
parent | a37bd7f3fb18a05d6cecb2dacd3d320546602fda (diff) | |
download | go-8247b22aaafa29eb6897ab4ea290130c44b7ff84.tar.gz |
gc: use gofmt spacing when printing map type
R=ken2
CC=golang-dev
http://codereview.appspot.com/5450071
Diffstat (limited to 'test/escape2.go')
-rw-r--r-- | test/escape2.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/escape2.go b/test/escape2.go index 3f7d6e3a1..13ebe271d 100644 --- a/test/escape2.go +++ b/test/escape2.go @@ -614,11 +614,11 @@ func LimitFooer(r Fooer, n int64) Fooer { // ERROR "leaking param: r" } func foo90(x *int) map[*int]*int { // ERROR "leaking param: x" - return map[*int]*int{nil: x} // ERROR "map\[\*int\] \*int literal escapes to heap" + return map[*int]*int{nil: x} // ERROR "map\[\*int\]\*int literal escapes to heap" } func foo91(x *int) map[*int]*int { // ERROR "leaking param: x" - return map[*int]*int{x: nil} // ERROR "map\[\*int\] \*int literal escapes to heap" + return map[*int]*int{x: nil} // ERROR "map\[\*int\]\*int literal escapes to heap" } func foo92(x *int) [2]*int { // ERROR "leaking param: x" |