summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug359.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug359.go')
-rw-r--r--test/fixedbugs/bug359.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug359.go b/test/fixedbugs/bug359.go
index 6ced608bc..7f34672f1 100644
--- a/test/fixedbugs/bug359.go
+++ b/test/fixedbugs/bug359.go
@@ -16,7 +16,7 @@ type Painting struct {
}
func (p Painting) Foo() {
- for e := p.fragments; e.Front() != nil; e = e.Next() { // ERROR "unexported field"
+ for e := p.fragments; e.Front() != nil; { // ERROR "unexported field"
}
}