From 08ca30bbfad04d3ca1bf7ae75c291b91ecb00aef Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 19 Dec 2008 03:05:37 -0800 Subject: change *map to map; *chan to chan; new(T) to new(*T) fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581 --- test/fixedbugs/bug045.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/fixedbugs/bug045.go') diff --git a/test/fixedbugs/bug045.go b/test/fixedbugs/bug045.go index d8a712c6da..9e94f44739 100644 --- a/test/fixedbugs/bug045.go +++ b/test/fixedbugs/bug045.go @@ -13,7 +13,7 @@ type T struct { func main() { var ta []*T; - ta = new([1]*T); + ta = new(*[1]*T); ta[0] = nil; } /* -- cgit v1.3