codeql icon indicating copy to clipboard operation
codeql copied to clipboard

Go: Do not panic when extracting an object without a parent scope

Open owen-mc opened this issue 1 year ago • 1 comments

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.

owen-mc avatar Jun 27 '24 12:06 owen-mc

Seems plausible to me

smowton avatar Jun 27 '24 12:06 smowton