diff options
author | Rob Pike <r@golang.org> | 2010-09-04 10:36:13 +1000 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-09-04 10:36:13 +1000 |
commit | 4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c (patch) | |
tree | 094ba2238e5596358b6ae4db5789c7d1fee4ecb7 /test/func3.go | |
parent | cd8f4cd2068964bfa12e10cd094d41ddd725af4f (diff) | |
download | go-git-4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c.tar.gz |
test: remove semiocolons.
The ken directory is untouched so we have some examples with explicit semis.
R=gri
CC=golang-dev
https://golang.org/cl/2157041
Diffstat (limited to 'test/func3.go')
-rw-r--r-- | test/func3.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/func3.go b/test/func3.go index 33e80a716c..110b0ef1c4 100644 --- a/test/func3.go +++ b/test/func3.go @@ -6,12 +6,12 @@ package main -type t1 int; -type t2 int; -type t3 int; +type t1 int +type t2 int +type t3 int -func f1(*t2, x t3); // ERROR "named" -func f2(t1, *t2, x t3); // ERROR "named" -func f3() (x int, *string); // ERROR "named" +func f1(*t2, x t3) // ERROR "named" +func f2(t1, *t2, x t3) // ERROR "named" +func f3() (x int, *string) // ERROR "named" -func f4() (t1 t1); // legal - scope of parameter named t1 starts in body of f4. +func f4() (t1 t1) // legal - scope of parameter named t1 starts in body of f4. |