mirror of
https://github.com/golang/go.git
synced 2025-11-10 13:41:05 +00:00
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
This commit is contained in:
parent
cd8f4cd206
commit
4f61fc96b2
88 changed files with 2512 additions and 2516 deletions
|
|
@ -14,32 +14,32 @@ type T int
|
|||
func (t T) m() {}
|
||||
|
||||
type I interface { m() }
|
||||
type J interface { I; }
|
||||
type J interface { I }
|
||||
|
||||
type PI interface { p.I; }
|
||||
type PJ interface { p.J; }
|
||||
type PI interface { p.I }
|
||||
type PJ interface { p.J }
|
||||
|
||||
func main() {
|
||||
var i I;
|
||||
var j J;
|
||||
var t T;
|
||||
i = t;
|
||||
j = t;
|
||||
_ = i;
|
||||
_ = j;
|
||||
i = j;
|
||||
_ = i;
|
||||
j = i;
|
||||
_ = j;
|
||||
var pi PI;
|
||||
var pj PJ;
|
||||
var pt p.T;
|
||||
pi = pt;
|
||||
pj = pt;
|
||||
_ = pi;
|
||||
_ = pj;
|
||||
pi = pj;
|
||||
_ = pi;
|
||||
pj = pi;
|
||||
_ = pj;
|
||||
var i I
|
||||
var j J
|
||||
var t T
|
||||
i = t
|
||||
j = t
|
||||
_ = i
|
||||
_ = j
|
||||
i = j
|
||||
_ = i
|
||||
j = i
|
||||
_ = j
|
||||
var pi PI
|
||||
var pj PJ
|
||||
var pt p.T
|
||||
pi = pt
|
||||
pj = pt
|
||||
_ = pi
|
||||
_ = pj
|
||||
pi = pj
|
||||
_ = pi
|
||||
pj = pi
|
||||
_ = pj
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue