summaryrefslogtreecommitdiff
path: root/test/ken/rob1.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-08-11 22:07:49 -0700
committerRob Pike <r@golang.org>2008-08-11 22:07:49 -0700
commit9836f34dec5002c36672fdfcbcccc93df4652704 (patch)
tree9d0faf1d96579f8c9fb0321586cab7c5149ccdf1 /test/ken/rob1.go
parent4f0f8b947606f59073fb8e46f8bd701907c0b2f9 (diff)
downloadgolang-9836f34dec5002c36672fdfcbcccc93df4652704.tar.gz
fix bug depot:
1) fix print statements, panic statements (parentheses required) 2) len is now allowed as a var name (bug053) R=gri OCL=14106 CL=14106
Diffstat (limited to 'test/ken/rob1.go')
-rw-r--r--test/ken/rob1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ken/rob1.go b/test/ken/rob1.go
index ae56962a3..a75878b1f 100644
--- a/test/ken/rob1.go
+++ b/test/ken/rob1.go
@@ -63,7 +63,7 @@ Init(i int) *Integer
func (this *Integer)
Print()
{
- print this.val;
+ print(this.val);
}
func
@@ -78,5 +78,5 @@ main()
}
list.Print();
- print "\n";
+ print("\n");
}