diff options
Diffstat (limited to 'test/interface/receiver.go')
-rw-r--r-- | test/interface/receiver.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/interface/receiver.go b/test/interface/receiver.go index f74cecb2c..f53daf8da 100644 --- a/test/interface/receiver.go +++ b/test/interface/receiver.go @@ -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") |