- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hasPtrRecv (0.2 sec)
-
src/go/types/methodset.go
// TODO(gri) A found method may not be added because it's not in the method set // (!indirect && f.hasPtrRecv()). A 2nd method on the same level may be in the method // set and may not collide with the first one, thus leading to a false positive. // Is that possible? Investigate. if _, found := s[key]; !found && (indirect || !f.hasPtrRecv()) { s[key] = &Selection{MethodVal, nil, f, index, indirect} return s } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.1K bytes - Viewed (0)