mirror of
https://github.com/golang/go.git
synced 2025-11-08 20:51:02 +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
|
|
@ -64,7 +64,7 @@ func main() {
|
|||
v = &t
|
||||
v.V()
|
||||
|
||||
// p = t; // ERROR
|
||||
// p = t // ERROR
|
||||
var i interface{} = t
|
||||
if _, ok := i.(P); ok {
|
||||
println("dynamic i.(P) succeeded incorrectly")
|
||||
|
|
@ -87,7 +87,7 @@ func main() {
|
|||
v = &s
|
||||
v.V()
|
||||
|
||||
// p = s; // ERROR
|
||||
// p = s // ERROR
|
||||
var j interface{} = s
|
||||
if _, ok := j.(P); ok {
|
||||
println("dynamic j.(P) succeeded incorrectly")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue