diff options
author | Russ Cox <rsc@golang.org> | 2009-03-03 08:39:12 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-03-03 08:39:12 -0800 |
commit | be2edb57614dd5a92294b7d29a34de754998fde5 (patch) | |
tree | 028f4f1a5f6b78795c1a1ef840b49c7da342edd1 /test/parentype.go | |
parent | e8b43190bbec4b3b445739c216a0f4e023a9442f (diff) | |
download | go-git-be2edb57614dd5a92294b7d29a34de754998fde5.tar.gz |
Automated g4 rollback of changelist 25024,
plus significant hand editing.
Back to T{x} for composite literals.
R=r
OCL=25612
CL=25632
Diffstat (limited to 'test/parentype.go')
-rw-r--r-- | test/parentype.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parentype.go b/test/parentype.go index f163f55d61..e534cb4070 100644 --- a/test/parentype.go +++ b/test/parentype.go @@ -9,9 +9,9 @@ package main func f(interface{}) func g() {} func main() { - f(map[string]string("a":"b","c":"d")); - f((map[string]string)("a":"b","c":"d")); - f((map[string]func())("a":g,"c":g)); + f(map[string]string{"a":"b","c":"d"}); + f((map[string]string){"a":"b","c":"d"}); + f((map[string]func()){"a":g,"c":g}); f(make(chan(<-chan int))); f(make(chan<-(chan int))); } |