mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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
This commit is contained in:
parent
7293dab5a9
commit
bc2f5f1dce
63 changed files with 310 additions and 314 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue