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/bigalg.go | |
parent | e8b43190bbec4b3b445739c216a0f4e023a9442f (diff) | |
download | go-be2edb57614dd5a92294b7d29a34de754998fde5.tar.gz go-be2edb57614dd5a92294b7d29a34de754998fde5.zip |
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/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 5ac60cc0c5..afeccdf8f0 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) |