From 55acb0e2b191d600bc79f578d6f6b477cdb06cd3 Mon Sep 17 00:00:00 2001 From: Diego Augusto Molina Date: Sun, 21 Sep 2025 01:23:17 -0300 Subject: [PATCH] fix #844: remove incorrect bug notice --- checker/nature/utils.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/checker/nature/utils.go b/checker/nature/utils.go index 755c2e08..45b993d9 100644 --- a/checker/nature/utils.go +++ b/checker/nature/utils.go @@ -52,8 +52,6 @@ func (s *structData) structField(c *Cache, parentEmbed *structData, name string) // Lookup own fields first. for ; s.ownIdx < s.numField; s.ownIdx++ { field := s.rType.Field(s.ownIdx) - // BUG: we should skip if !field.IsExported() here - if field.Anonymous && s.anonIdx < 0 { // start iterating anon fields on the first instead of zero s.anonIdx = s.ownIdx