Skip to content

Commit 55acb0e

Browse files
committed
fix #844: remove incorrect bug notice
1 parent 69b27af commit 55acb0e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

checker/nature/utils.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ func (s *structData) structField(c *Cache, parentEmbed *structData, name string)
5252
// Lookup own fields first.
5353
for ; s.ownIdx < s.numField; s.ownIdx++ {
5454
field := s.rType.Field(s.ownIdx)
55-
// BUG: we should skip if !field.IsExported() here
56-
5755
if field.Anonymous && s.anonIdx < 0 {
5856
// start iterating anon fields on the first instead of zero
5957
s.anonIdx = s.ownIdx

0 commit comments

Comments
 (0)