mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
We were trying to convert the object's type to a named type to iterate through its methods, forgetting that it could also be a pointer to a named type. This bug was exposed because we no longer extract an object's type before extracting it (unless it is a receiver), and when we extracted a named type we extract its methods and when extracting a method we extract its receiver and we always give it the correct label in that situation.