summaryrefslogtreecommitdiff
path: root/test/chan/powser2.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-02-13 14:48:32 -0800
committerRuss Cox <rsc@golang.org>2009-02-13 14:48:32 -0800
commita193f430ba881e07e25325a55fa4f8c47bd4c9e5 (patch)
treea3b6c6ab9f68981976738f0efc7988353d5a0d82 /test/chan/powser2.go
parentd513b8157d41f0cd240cc6ad74925702c74fc73e (diff)
downloadgo-a193f430ba881e07e25325a55fa4f8c47bd4c9e5.tar.gz
convert composite literals from { } to ( ).
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
Diffstat (limited to 'test/chan/powser2.go')
-rw-r--r--test/chan/powser2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/chan/powser2.go b/test/chan/powser2.go
index b48110819..bf798b3fa 100644
--- a/test/chan/powser2.go
+++ b/test/chan/powser2.go
@@ -167,7 +167,7 @@ func getn(in []*dch) []item {
// Get one item from each of 2 demand channels
func get2(in0 *dch, in1 *dch) []item {
- return getn([]*dch{in0, in1});
+ return getn([]*dch(in0, in1));
}
func copy(in *dch, out *dch){