diff options
author | Russ Cox <rsc@golang.org> | 2009-02-13 14:48:32 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-02-13 14:48:32 -0800 |
commit | 9f8f2e6130d7899b0f689232d173ea2e4441285c (patch) | |
tree | a3b6c6ab9f68981976738f0efc7988353d5a0d82 /test/bigalg.go | |
parent | 07244f7c8081669f33433385a1f81e2a8d8cb55d (diff) | |
download | go-9f8f2e6130d7899b0f689232d173ea2e4441285c.tar.gz go-9f8f2e6130d7899b0f689232d173ea2e4441285c.zip |
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/bigalg.go')
-rw-r--r-- | test/bigalg.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bigalg.go b/test/bigalg.go index afeccdf8f0..5ac60cc0c5 100644 --- a/test/bigalg.go +++ b/test/bigalg.go @@ -18,7 +18,7 @@ type T struct { d byte; } -var a = []int{ 1, 2, 3 } +var a = []int( 1, 2, 3 ) var NIL []int; func arraycmptest() { @@ -44,7 +44,7 @@ func SameArray(a, b []int) bool { return true; } -var t = T{1.5, 123, "hello", 255} +var t = T(1.5, 123, "hello", 255) var mt = make(map[int]T) var ma = make(map[int][]int) |