diff options
Diffstat (limited to 'test/fixedbugs/bug359.go')
-rw-r--r-- | test/fixedbugs/bug359.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug359.go b/test/fixedbugs/bug359.go index 7f34672f1..3701499ed 100644 --- a/test/fixedbugs/bug359.go +++ b/test/fixedbugs/bug359.go @@ -16,11 +16,11 @@ type Painting struct { } func (p Painting) Foo() { - for e := p.fragments; e.Front() != nil; { // ERROR "unexported field" + for e := p.fragments; e.Front() != nil; { // ERROR "unexported field|hidden field" } } // from comment 4 of issue 1910 type Foo interface { - Run(a int) (a int) // ERROR "a redeclared" + Run(a int) (a int) // ERROR "a redeclared|redefinition|previous" } |