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
This commit is contained in:
Russ Cox 2008-12-19 03:05:37 -08:00
parent d47d888ba6
commit 08ca30bbfa
111 changed files with 814 additions and 845 deletions

View file

@ -27,7 +27,7 @@ func Tabify(s string) string {
export type T struct {
errors string;
failed bool;
ch *chan *T;
ch chan *T;
}
func (t *T) Fail() {
@ -92,7 +92,7 @@ export func Main(tests []Test) {
if chatty {
println("=== RUN ", tests[i].name);
}
t := new(T);
t := new(*T);
t.ch = new(chan *T);
go TRunner(t, &tests[i]);
<-t.ch;