codeql icon indicating copy to clipboard operation
codeql copied to clipboard

Go: extract entities for type parameters

Open owen-mc opened this issue 1 year ago • 1 comments
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.

owen-mc avatar Jan 03 '24 14:01 owen-mc