codeql
codeql copied to clipboard
Go: extract entities for type parameters
trafficstars
This was overlooked previously. We already do this
for named types. I have confirmed that none of the
other cases in this switch statement are entities, that
is they don't have a field of type object that can
be accessed using Obj().
The test change will mean that for future Go version updates, changes in type parameters for library functions will not cause our test to fail.