summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug059.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2008-12-18 22:37:22 -0800
committerRuss Cox <rsc@golang.org>2008-12-18 22:37:22 -0800
commit89995dcecf37b9a21c26783dcf8ab506da237363 (patch)
tree851fad01a87b8fa071ed46fa0985f1857d9e47ca /test/fixedbugs/bug059.go
parent924e27f38d133bc7c9978a061b20f950554434ee (diff)
downloadgolang-89995dcecf37b9a21c26783dcf8ab506da237363.tar.gz
convert *[] to [].
R=r OCL=21563 CL=21571
Diffstat (limited to 'test/fixedbugs/bug059.go')
-rw-r--r--test/fixedbugs/bug059.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug059.go b/test/fixedbugs/bug059.go
index a798b6fcd..5a29ed1f0 100644
--- a/test/fixedbugs/bug059.go
+++ b/test/fixedbugs/bug059.go
@@ -6,7 +6,7 @@
package main
-func P(a *[]string) string {
+func P(a []string) string {
s := "{";
for i := 0; i < 2; i++ {
if i > 0 {
@@ -19,7 +19,7 @@ func P(a *[]string) string {
}
func main() {
- m := new(map[string] *[]string);
+ m := new(map[string] []string);
as := new([2]string);
as[0] = "0";
as[1] = "1";