diff options
Diffstat (limited to 'test/interface5.go')
-rw-r--r-- | test/interface5.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/interface5.go b/test/interface5.go index a7d79a17b..2e273dddd 100644 --- a/test/interface5.go +++ b/test/interface5.go @@ -16,6 +16,6 @@ func main() { // neither of these can work, // because i has an extra method // that t does not, so i cannot contain a t. - i = t; // ERROR "missing" - t = i; // ERROR "missing" + i = t; // ERROR "missing|incompatible" + t = i; // ERROR "missing|incompatible" } |