summaryrefslogtreecommitdiff
path: root/test/parentype.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-03-03 08:39:12 -0800
committerRuss Cox <rsc@golang.org>2009-03-03 08:39:12 -0800
commitbe2edb57614dd5a92294b7d29a34de754998fde5 (patch)
tree028f4f1a5f6b78795c1a1ef840b49c7da342edd1 /test/parentype.go
parente8b43190bbec4b3b445739c216a0f4e023a9442f (diff)
downloadgo-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.go6
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)));
}