codeql
codeql copied to clipboard
Go: Do not panic when extracting an object without a parent scope
The number of alerts in https://github.com/bigwhite/experiments varied on different runs. This turned out to be because the same named type was defined in different files in the same package. This is invalid go, but we should deal with it as gracefully as we can.
Seems plausible to me