Skip to content

Commit 1442aaf

Browse files
committed
fix: do not ignore reflect types on path
1 parent f2e0880 commit 1442aaf

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎main.go‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ bufScanLoop:
7272

7373
func enum(path []string, seen map[string]bool) bool {
7474
last := path[len(path)-1]
75-
if last == "type:reflect.Value" || last == "type:*reflect.rtype" || last == "type:*reflect.Value" {
76-
// these are almost always false positives so we skip them
77-
return false
78-
}
7975
seen[last] = true
8076
defer func() {
8177
if !visitOnce(last) {

0 commit comments

Comments
 (0)