diff options
Diffstat (limited to 'test/interface')
-rw-r--r-- | test/interface/explicit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interface/explicit.go b/test/interface/explicit.go index d19480a68..7822b88d0 100644 --- a/test/interface/explicit.go +++ b/test/interface/explicit.go @@ -40,7 +40,7 @@ func main() { // because i has an extra method // that t does not, so i cannot contain a t. i = t // ERROR "incompatible|missing M method" - t = i // ERROR "incompatible|need type assertion" + t = i // ERROR "incompatible|assignment$" i = i2 // ok i2 = i // ERROR "incompatible|missing N method" |